use of org.whole.lang.json.visitors.JSONPrettyPrinterVisitor in project whole by wholeplatform.
the class JSONPersistenceDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addOperationFactory(JSONLanguageKit.URI, PrettyPrinterOperation.ID, new IVisitorFactory() {
public IVisitor create(IOperation operation, int stage) {
return new JSONPrettyPrinterVisitor((PrettyPrinterOperation) operation);
}
});
platform.addPersistenceKit("org.whole.lang.json.JSONSourceEditor", JSONSourcePersistenceKit.instance());
platform.addPersistenceKit("org.whole.lang.json.JSONLDEditor", JSONLDPersistenceKit.instance());
}
Aggregations