node.put("active", calendar.isActive());
node.put("modified", makeNode(calendar.getModifiedDate()));
node.put("published", makeNode(calendar.getPublishDate()));
node.put("dataSources", makeArrayNode(calendar.getDataSources()));
JsonGenerator generator = this.jsonFactory.createJsonGenerator(out, JsonEncoding.UTF8);
generator.writeTree(node);
generator.close();
}
public Calendar readCalendar(Reader reader) throws JsonProcessingException, IOException
{