public class Yaml
extends java.lang.Object
| Constructor and Description |
|---|
Yaml() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
fromYaml(java.lang.String yaml)
Parse the YAML string as a manifold.rt.api.Bindings instance.
|
static java.lang.Object |
fromYaml(java.lang.String yaml,
boolean withBigNumbers,
boolean withTokens) |
static void |
toYaml(java.lang.Object jsonValue,
java.lang.StringBuilder target)
Serializes a JSON value to a YAML 1.2 formatted StringBuilder
target
with the specified indent of spaces. |
public static java.lang.Object fromYaml(java.lang.String yaml)
yaml - A Standard YAML 1.2 formatted stringpublic static java.lang.Object fromYaml(java.lang.String yaml,
boolean withBigNumbers,
boolean withTokens)
public static void toYaml(java.lang.Object jsonValue,
java.lang.StringBuilder target)
target
with the specified indent of spaces.target - A StringBuilder to write the YAML inCopyright © 2022. All rights reserved.