@Service @Property(name="extensions",value="ordered-json") @Property(name="contentTypes",value="application/json") public class OrderedJsonReader extends JsonReader
JsonReader, OrderedJsonReader parse json document exactly the same,
but does specific look up for SLING:ordered : [{SLING:name: "first", ...},{SLING:name: "second", ...}]
type of structure that will force import of an orderable node with first and second
children, in that order.
Note that this is the reponsability of the json file to set appropriate node type / mixins.ignoredNamesPROPERTY_EXTENSIONS, PROPERTY_TYPES| Constructor and Description |
|---|
OrderedJsonReader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeChildren(javax.json.JsonObject obj,
ContentCreator contentCreator) |
createNode, createPrincipals, createProperty, handleSecurity, parse, parseprotected void writeChildren(javax.json.JsonObject obj,
ContentCreator contentCreator)
throws javax.jcr.RepositoryException
writeChildren in class JsonReaderjavax.jcr.RepositoryExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.