Annotation Type JsonProperty

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String[] aliases
      A list of aliases to use during deserialization for this property.
      boolean deserialize
      Whether this property must be deserialized.
      boolean serialize
      Whether this property must be serialized.
      String value
      The name of that property.
    • Element Detail

      • value

        String value
        The name of that property.
        Default:
        ""
      • aliases

        String[] aliases
        A list of aliases to use during deserialization for this property. Note that during serialization this is not used.
        Default:
        {}
      • serialize

        boolean serialize
        Whether this property must be serialized. Default is true, the property will be serialized.
        Default:
        true
      • deserialize

        boolean deserialize
        Whether this property must be deserialized. Default is true, the property will be deserialized.
        Default:
        true