Annotation Interface JsonLdProperty


@Retention(RUNTIME) @Target(FIELD) public @interface JsonLdProperty
Allows to configure serialization and deserialization behavior for an attribute annotated by this annotation.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Specifies property access options.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Allows to configure serialization and deserialization access to the property.
  • Element Details

    • access

      Allows to configure serialization and deserialization access to the property.

      By default, the property is both serialized and deserialized. This can be restricted by making the property read-only or write-only.

      Returns:
      Type of access to annotated property
      Default:
      READ_WRITE