Interface JSONSerializable
- All Known Implementing Classes:
JSONValue
public interface JSONSerializable
Interface for classes that wish to control their own serialization.
-
Method Summary
Modifier and TypeMethodDescription<W extends Writer>
voidjsonSerialize
(JSONWriter<W> w) Called during serialization to JSON.
-
Method Details
-
jsonSerialize
Called during serialization to JSON.- Throws:
IOException
-