public JsonExport(IDatabase database, EntityStore store) { conf = ExportConfig.create(database, store); }
public static <T extends RootEntity> JsonObject toJson(T entity) { if (entity == null) return new JsonObject(); Writer<T> writer = getWriter(entity, ExportConfig.create()); return writer.write(entity); }