You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.

Interface JsonSerializable

    • Method Summary

      All Methods
      Modifier and Type Method Description
      JsonSerializable readJson​(elemental.json.JsonObject value)

      Sets the JSON object data into the Java object.

      elemental.json.JsonObject toJson()

      Converts this object to its JSON format.

    • Method Detail

      • toJson

        elemental.json.JsonObject toJson()

        Converts this object to its JSON format.

        Returns:

        the JSON representation of the object

      • readJson

        JsonSerializable readJson​(elemental.json.JsonObject value)

        Sets the JSON object data into the Java object.

        Parameters:

        value - the JSON representation of the object

        Returns:

        this instance, for method chaining