JsonMapper

API

JsonMapper.java
class JsonMapper {
  String getEntityAsStringFrom(Response response)
  JsonMapper instance()     (1)
  JsonMapper instance(PrettyPrinting prettyPrinting)
  JsonRepresentation read(String json)
  T read(String json, Class<T> requiredType)
  T read(Response response, Class<T> requiredType)
  String write(Object object)
}
1 instance()

Returns a org.apache.causeway.viewer.restfulobjects.applib.util.JsonMapper.PrettyPrinting#ENABLE pretty-printing enabled JSON mapper.

Members

instance()

Returns a org.apache.causeway.viewer.restfulobjects.applib.util.JsonMapper.PrettyPrinting#ENABLE pretty-printing enabled JSON mapper.