public interface JsonString
JsonString
interface allows a toJsonString()
method so that a class can change the behavior of
JSONObject.toString()
, JSONArray.toString()
,
and JSONWriter.value(
Object)
. The
toJsonString
method will be used instead of the default behavior
of using the Object's toString()
method and quoting the result.Modifier and Type | Method and Description |
---|---|
String |
toJsonString()
The
toJsonString method allows a class to produce its own JSON
serialization. |
String toJsonString()
toJsonString
method allows a class to produce its own JSON
serialization.Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.