Class RestJSON


  • @StableMinor(version="14.1",
                 sinceVersion="6.1")
    public class RestJSON
    extends Object
    Class that represents the JSON type used in REST.

    Converters that support JSON type in REST must be able to convert from and/or to this type.

    Since:
    6.1.0
    Version:
    $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
    • Constructor Detail

      • RestJSON

        public RestJSON​(Object value)
        Creates a new REST JSON based on the given object.
        Parameters:
        value - the object that will be used to generate the JSON.
        Since:
        6.1.0
    • Method Detail

      • getValue

        public Object getValue()
        Returns the value that will be used to generate the JSON.
        Returns:
        the value that will be used to generate the JSON.
        Since:
        6.1.0