public JSONContext getContext() { return JSONContext.get(); }
JSONContext context= JSONContext.get(); context.setRootName(rootName); context.setPrettyPrint(prettyPrint);
public void setSerializingWithUniqueIds(boolean serializingWithUniqueIds) { JSONContext.get().setSerializingWithUniqueIds(serializingWithUniqueIds); } }