Package com.randomnoun.common
Interface Struct.ToJsonFormat
- Enclosing class:
Struct
public static interface Struct.ToJsonFormat
This class can be serialised as a JSON value by calling it's toJson(String) 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
-
toJson
-