Skip to content

Conversation

@jdereg
Copy link
Contributor

@jdereg jdereg commented Jan 26, 2026

Summary

Updates json-io to the latest stable version (4.87.0).

Changes

  • Version bump: 4.24.0 → 4.87.0

What is new in json-io 4.87.0

  • Full JSON5 support (comments, trailing commas, unquoted keys, etc.)
  • TOON format support (~40% fewer tokens for LLM applications)
  • 60+ built-in type handlers
  • Performance improvements with cycleSupport(false) option (~35-40% faster writes)
  • Spring Boot starter available (json-io-spring-boot-starter)
  • Cyclic reference handling via @id/@ref

Note on STREAM vs DATABIND

json-io remains configured for STREAM API benchmarks. This is appropriate because json-io is designed for round-trip serialization with full type preservation (using @type markers) rather than generic databinding from plain JSON without type information.

Repository: https://github.com/jdereg/json-io

Updates json-io to the latest stable version which includes:
- Full JSON5 support
- TOON format support (~40% fewer tokens for LLM applications)
- 60+ built-in type handlers
- Performance improvements with cycleSupport(false) option
- Spring Boot starter available

json-io remains configured for STREAM API benchmarks as it is optimized
for round-trip serialization with full type preservation rather than
generic databinding without type info.
@jdereg
Copy link
Contributor Author

jdereg commented Jan 27, 2026

Update: json-io 4.88.0 now available

I've just released json-io 4.88.0 which includes significant improvements to generic type inference that are relevant to this benchmark:

Key improvements in 4.88.0:

  • Enhanced generic type inference for nested collections and maps
  • Type inference now works for arrays, primitives, and inheritance hierarchies
  • Better handling of plain JSON without explicit @type markers

These improvements mean json-io can now handle the benchmark's DATABIND tests more effectively, not just STREAM tests.

Benchmark relevance:

  • The Users and Clients models with List<T> and nested POJOs should now deserialize correctly from plain JSON
  • No annotations required on model classes

I'll update this PR to use version 4.88.0. The only change needed is the version number in pom.xml.

Maven coordinates:

<dependency>
    <groupId>com.cedarsoftware</groupId>
    <artifactId>json-io</artifactId>
    <version>4.88.0</version>
</dependency>

4.88.0 includes enhanced generic type inference for nested collections
and maps, enabling better support for DATABIND benchmarks.
@jdereg jdereg changed the title Update json-io from 4.24.0 to 4.87.0 Update json-io from 4.24.0 to 4.88.0 Jan 27, 2026
@fabienrenaud fabienrenaud merged commit f9fe08a into fabienrenaud:master Jan 28, 2026
1 check passed
@fabienrenaud
Copy link
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants