Package com.randomnoun.common
Interface Struct.WriteJsonFormat
- Enclosing class:
Struct
public static interface Struct.WriteJsonFormat
This class can be serialised as a JSON value by calling it's writeJsonFormat() method
Multiple json formats are supported by supplying a jsonFormat string; e.g. 'simple'.
Passing null or an empty string should be equivalent to calling toJson() if the class also implements the Struct.ToJson interface.
-
Method Summary
-
Method Details
-
writeJsonFormat
- Throws:
IOException
-