Package cz.cvut.kbss.jsonld.annotation
Annotation Interface JsonLdAttributeOrder
Annotation that can be used to define ordering (possibly partial) to use when serializing object attributes.
Attributes included in annotation declaration will be serialized first (in defined order), followed by any attributes not included in the definition.
Note that this annotation expects the values to be names of the Java attributes, NOT their JSON-LD counterparts (IRIs).
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String[] valueOrder in which properties of annotated object are to be handled.- Returns:
- Array of Java attribute names in order in which they should be processed
- Default:
- {}
-