-
public class JSONJSON core library - a set of functions to assist with the creation and output of JSON data.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringasStringprivate final StringasStringOrNullprivate final IntegerasIntprivate final IntegerasIntOrNullprivate final LongasLongprivate final LongasLongOrNullprivate final BigDecimalasDecimalprivate final BigDecimalasDecimalOrNullprivate final BooleanasBooleanprivate final BooleanasBooleanOrNullprivate final JSONArrayasArrayprivate final JSONArrayasArrayOrNullprivate final JSONObjectasObjectprivate final JSONObjectasObjectOrNullpublic final static JSONINSTANCE
-
Method Summary
-
-
Method Detail
-
of
final JSONDecimal of(BigDecimal value)
-
of
final JSONString of(String value)
-
of
final JSONBoolean of(Boolean value)
-
parseArray
final JSONArray parseArray(String json)
-
parseObject
final JSONObject parseObject(String json)
-
appendTo
final Unit appendTo(JSONValue $self, Appendable a)
-
appendJSONValue
final Appendable appendJSONValue(Appendable $self, JSONValue json)
-
displayValue
final String displayValue(JSONValue $self)
-
getAsString
final String getAsString(JSONValue $self)
-
getAsStringOrNull
final String getAsStringOrNull(JSONValue $self)
-
getAsIntOrNull
final Integer getAsIntOrNull(JSONValue $self)
-
getAsLongOrNull
final Long getAsLongOrNull(JSONValue $self)
-
getAsDecimal
final BigDecimal getAsDecimal(JSONValue $self)
-
getAsDecimalOrNull
final BigDecimal getAsDecimalOrNull(JSONValue $self)
-
getAsBoolean
final Boolean getAsBoolean(JSONValue $self)
-
getAsBooleanOrNull
final Boolean getAsBooleanOrNull(JSONValue $self)
-
getAsArray
final JSONArray getAsArray(JSONValue $self)
-
getAsArrayOrNull
final JSONArray getAsArrayOrNull(JSONValue $self)
-
getAsObject
final JSONObject getAsObject(JSONValue $self)
-
getAsObjectOrNull
final JSONObject getAsObjectOrNull(JSONValue $self)
-
-
-
-