Interface Jsonable
- All Known Implementing Classes:
JsonArray, JsonObject
public interface Jsonable
Jsonables can be serialized in java script object notation (JSON). Deserializing a String produced by a Jsonable
should represent the Jsonable in JSON form.
- Since:
- 2.0.0
-
Method Summary
-
Method Details
-
toJson
-
toJson
Serialize to a JSON formatted stream.- Parameters:
writable- where the resulting JSON text should be sent.- Throws:
IOException- when the writable encounters an I/O error.
-