json_model_builder library

Classes

JsonBool
JsonType for primitive bool
JsonBoolNullable
JsonTypeNullable for primitive bool
JsonDateTime
JsonType for DateTime
JsonDateTimeNullable
JsonTypeNullable for DateTime
JsonDouble
JsonType for primitive double
JsonDoubleNullable
JsonTypeNullable for primitive double
JsonInt
JsonType for primitive int
JsonIntNullable
JsonTypeNullable for primitive int
JsonList<T extends JsonType>
JsonType list compatible to List
JsonListNullable<T extends JsonType>
JsonTypeNullable list compatible to List
JsonMap<T extends JsonType>
JsonType map compatible to Map
JsonMapNullable<T extends JsonType>
JsonTypeNullable map compatible to Map
JsonNull
JsonType null
JsonString
JsonType for primitive String
JsonStringNullable
JsonTypeNullable for primitive String
JsonType
Basic interface that all types must have. All other json types implement this.
JsonTypeNullable
It adds a isNull flag, so you can define model entries as nullables or values as null.
ModelBuilder
Extend this class to build a json model Can have JsonType instances as fields or "entries"
ModelBuilderNullable
Same as ModelBuilder but all it instances can be marked as null. It json value can be a map or null.
PrimitieveJson<T>
JsonTypes that doesn't have sub types.
PrimitiveJsonNullable<T>
Adds isNull getter to all nullable primirives