Skip to content

Releases: treblereel/mapper-json

0.10 Release

Choose a tag to compare

@treblereel treblereel released this 02 Jul 05:24
6eeb664

Full Changelog: r0.9...r0.10

0.9 Release

Choose a tag to compare

@treblereel treblereel released this 29 Jun 00:34
97b5ccc

Dependencies & Platform

  • Update Java source/target to 17 for samples
  • Update j2cl.platform.version to 20260527-1
  • Update GWT to 2.13.0
  • Remove unused top-level junit dependency

New Features

  • Schema-first code generation — generate Jakarta JSON Binding marshallers from JSON Schema / YAML definitions (jsonschema-jsonb-generator module)
  • @JsonbCreator — support for constructor and static factory-based deserialization
  • @JSONMappers — annotation for generating marshallers for external types (type-level and package-level)
  • @JsonbNillable — support at TYPE, FIELD, and PACKAGE levels for controlling null serialization

Bug Fixes

  • Fix JsonSerializer subtype wrapper to use named variant in SerializerJsonbTypeSerializerWrapper
  • Fix JsonbSubtypeSerializer — write @ type discriminator inline instead of mutating serializer properties; throw IllegalArgumentException instead of Error
  • Fix ContextedJsonGenerator.writeStartArray() incorrectly calling writeStartObject()
  • Fix String[] serializer registry to use StringArrayJsonSerializer instead of PrimitiveShortArrayJsonSerializer
  • Add null checks in all primitive/string array deserializers
  • Add null guard in ArrayJsonSerializer.serialize()
  • Implement writeNull()/addNull() in GwtArrayJsonGenerator
  • Fix JsonArrayImpl.set()/add() to handle JsonObjectImpl correctly
  • Fix JsonObjectImpl.getInt()/getBoolean() to handle missing properties
  • Fix JsonObjectImpl.asJsonObject() to return this
  • Close JsonParser in AbstractObjectMapper.fromJSON()
  • Replace unreachable null returns with proper exceptions in annotation processor
  • Use LinkedHashSet for deterministic bean processing order
  • Fix duplicate class collection and duplicate property handling in SchemaCollector
  • Add null-safety checks in NamingUtils

0.6 Release

Choose a tag to compare

@treblereel treblereel released this 29 Nov 06:03

v0.5

Choose a tag to compare

@treblereel treblereel released this 09 Jul 02:12
a673a27
  • bump elemental2 to 1.2.1

0.3 Release

Choose a tag to compare

@treblereel treblereel released this 26 Sep 22:06
71f0d8a
  • @JsonbTypeSerializer/@JsonbTypeDeserializer were refactored and now support interfaces and abstract classes
  • added enums support
  • added ability to use inner classes as annotated beans
  • @JsonbTypeInfo

bugfix

0.2 Release

Choose a tag to compare

@treblereel treblereel released this 20 Jul 15:46
31c45a8

the very first release with basic stuff