Package com.vaadin.flow.component
Interface JsonSerializable
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
FormLayout.ResponsiveStep
Base interface for classes that are serializable to and from
ObjectNode.- Since:
- 1.0
-
Method Details
-
toJson
com.fasterxml.jackson.databind.node.ObjectNode toJson()Converts this object to its JSON format.- Returns:
- the JSON representation of the object
-
readJson
Sets the JSON object data into the Java object.- Parameters:
value- the JSON representation of the object- Returns:
- this instance, for method chaining
-