throw new ParseException("Missing \"collection\" property");
}
private Collection parseCollection(JsonNode collectionNode) {
Collection c = objectFactory.createCollection((ObjectNode) collectionNode);
c.validate();
return c;
}
private Template parseTemplate(JsonNode collectionNode) throws ParseException {
JsonNode node = collectionNode.get("template");