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.ignoredNames
PROPERTY_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, parse
protected void writeChildren(javax.json.JsonObject obj, ContentCreator contentCreator) throws javax.jcr.RepositoryException
writeChildren
in class JsonReader
javax.jcr.RepositoryException
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.