org.mnode.ical4j.json.schema.SchemaActionSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ical4j-json Show documentation
Show all versions of ical4j-json Show documentation
Custom marshalling between iCal4j objects and JSON formats
The newest version!
package org.mnode.ical4j.json.schema;
import com.fasterxml.jackson.databind.JsonNode;
import net.fortuna.ical4j.model.component.VToDo;
public class SchemaActionSerializer extends AbstractSchemaCalendarSerializer {
public SchemaActionSerializer(Class t) {
super(t);
}
@Override
protected JsonNode buildSchema(VToDo component) {
AbstractSchemaBuilder builder = new SchemaActionBuilder().component(component);
return builder.build();
}
}