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