public class Json extends Object
| Constructor and Description |
|---|
Json() |
| Modifier and Type | Method and Description |
|---|---|
static Bindings |
fromJson(String json)
Parse the JSON string as one of a javax.script.Bindings instance.
|
static String |
getParserName() |
static String |
makeStructureTypes(String nameForStructure,
Bindings bindings,
boolean mutable)
Makes a tree of structure types reflecting the Bindings.
|
static void |
setParserName(String fqn) |
public static String getParserName()
public static void setParserName(String fqn)
public static Bindings fromJson(String json)
json - A Standard JSON formatted stringpublic static String makeStructureTypes(String nameForStructure, Bindings bindings, boolean mutable)
A structure type contains a property member for each name/value pair in the Bindings. A property has the same name as the key and follows these rules:
Copyright © 2017. All rights reserved.