Release 1.0.1
Added:
- New self-implemented JsonParser and JsonDumper implementation
- New self-implemented Mapper
- Support for ordering fields using the order attribute in
@MapperOptions
- Support for additional attributes by adding
@Additional
to a field of type AbstractObject - Support for deserializing types with generic type arguments (Set, List, Map)
- Support for accessing the context (field, annotations, ...) in custom type adapters
- Stream API collectors for AbstractArray and AbstractObject that can be accessed using the static methods
AbstractArray.collect()
andAbstractObject.collect()
- Bson Support (bson library is marked optional and needs to be added to the classpath manually)
Fixed:
- QueryString keys weren't encoded/decoded properly
- Json String length limit of 1500
Deprecated:
- AbstractMapper (see the Mapper class for the new api)
Removed:
- Gson dependency
- Gson util classes (GsonAbstractDataAdapter, GsonEnum, GsonEnumAdapter, GsonListDeserializer, GsonMapDeserializer)
Required Changes:
- The old
AbstractMapper
got deprecated and should be replaced by the newMapper
- Because gson isn't used for mapping anymore, you need to make sure to replace all gson annotations (
@SerializedName
,@Expose
, ...) to@MapperOptions