Class TikaJsonSerializer


  • public class TikaJsonSerializer
    extends Object
    This is a basic serializer that requires that an object: a) have a no-arg constructor b) have both setters and getters for the same parameters with the same names, e.g. setXYZ and getXYZ c) setters and getters have to follow the pattern setX where x is a capital letter d) have maps as parameters where the keys are strings (and the values are strings for now) e) at deserialization time, objects that have setters for enums also have to have a setter for a string value of that enum