public class Serializer
extends java.lang.Object
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
prettyfy(java.lang.String value) |
java.lang.String |
serialize(JsonObject object,
JsonContext context) |
public java.lang.String serialize(JsonObject object, JsonContext context)
public java.lang.String prettyfy(java.lang.String value)
value
- A serialized String value representing JSON.