-
public class JSONJSON core library - a set of functions to assist with the creation and output of JSON data.
-
-
Method Summary
Modifier and Type Method Description final JSONIntof(Integer value)final JSONLongof(Long value)final JSONDecimalof(BigDecimal value)final JSONStringof(String value)final JSONBooleanof(Boolean value)final JSONValueparse(String json)final JSONObjectparseObject(String json)final JSONArrayparseArray(String json)final StringtoJSON(JSONValue $self)final UnitappendTo(JSONValue $self, Appendable a)final AppendableappendJSON(Appendable $self, JSONValue json)-
-
Method Detail
-
of
final JSONDecimal of(BigDecimal value)
-
of
final JSONString of(String value)
-
of
final JSONBoolean of(Boolean value)
-
parseObject
final JSONObject parseObject(String json)
-
parseArray
final JSONArray parseArray(String json)
-
appendTo
final Unit appendTo(JSONValue $self, Appendable a)
-
appendJSON
final Appendable appendJSON(Appendable $self, JSONValue json)
-
-
-
-