org.mnode.ical4j.json.schema.SchemaOrganizationSerializer 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.vcard.VCard;
public class SchemaOrganizationSerializer extends AbstractSchemaCardSerializer {
public SchemaOrganizationSerializer(Class t) {
super(t);
}
@Override
protected JsonNode buildSchema(VCard card) {
AbstractSchemaBuilder builder = new SchemaOrganizationBuilder().component(card);
return builder.build();
}
}