public interface Jsonable
| Modifier and Type | Method and Description |
|---|---|
String |
toJson()
Serialize to a JSON formatted string.
|
void |
toJson(Writer writable)
Serialize to a JSON formatted stream.
|
String toJson()
void toJson(Writer writable) throws IOException
writable - where the resulting JSON text should be sent.IOException - when the writable encounters an I/O error.Copyright © 2018. All rights reserved.