Class DocumentPropertiesJsonReader

java.lang.Object
org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader<List<Property>>
org.nuxeo.ecm.core.io.marshallers.json.document.DocumentPropertiesJsonReader
All Implemented Interfaces:
Marshaller<List<Property>>, Reader<List<Property>>

@Setup(mode=SINGLETON, priority=2000) public class DocumentPropertiesJsonReader extends AbstractJsonReader<List<Property>>
Convert Json as List<Property>.

Format is:

 {
   "schema1Prefix:stringProperty": "stringPropertyValue", <-- each property may be marshall as object if a resolver is associated with that property and if a marshaller exists for the object, in this case, the resulting property will have the corresponding reference value.
   "schema1Prefix:booleanProperty": true|false,
   "schema2Prefix:integerProperty": 123,
   ...
   "schema3Prefix:complexProperty": {
      "subProperty": ...,
      ...
   },
   "schema4Prefix:listProperty": [
      ...
   ]
 }
 
Since:
7.2