Interface JsonSerializable

All Superinterfaces:
Serializable
All Known Implementing Classes:
FormLayout.ResponsiveStep

public interface JsonSerializable extends Serializable
Base interface for classes that are serializable to and from ObjectNode.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    readJson(tools.jackson.databind.JsonNode value)
    Sets the JSON object data into the Java object.
    tools.jackson.databind.node.ObjectNode
    Converts this object to its JSON format.
  • Method Details

    • toJson

      tools.jackson.databind.node.ObjectNode toJson()
      Converts this object to its JSON format.
      Returns:
      the JSON representation of the object
    • readJson

      JsonSerializable readJson(tools.jackson.databind.JsonNode value)
      Sets the JSON object data into the Java object.
      Parameters:
      value - the JSON representation of the object
      Returns:
      this instance, for method chaining