We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
elemental.json.
Class Json
- java.lang.Object
-
- elemental.json.Json
-
public class Json extends Object
Vends out implementation of JsonFactory.
-
-
Constructor Summary
Constructors Constructor and Description Json()
-
Method Summary
All Methods Modifier and Type Method and Description static JsonBoolean
create(boolean bool)
static JsonNumber
create(double number)
static JsonString
create(String string)
static JsonArray
createArray()
static JsonNull
createNull()
static JsonObject
createObject()
static JsonFactory
instance()
static JsonObject
parse(String jsonString)
-
-
-
Method Detail
-
create
public static JsonString create(String string)
-
create
public static JsonBoolean create(boolean bool)
-
createArray
public static JsonArray createArray()
-
createNull
public static JsonNull createNull()
-
create
public static JsonNumber create(double number)
-
createObject
public static JsonObject createObject()
-
instance
public static JsonFactory instance()
-
parse
public static JsonObject parse(String jsonString)
-
-