Skip to content

[#738] Fix JSON serialization for nested maps and repeated fields - #739

Merged
jabolina merged 1 commit into
infinispan:mainfrom
tristantarrant:json-fix
Sep 9, 2026
Merged

[#738] Fix JSON serialization for nested maps and repeated fields#739
jabolina merged 1 commit into
infinispan:mainfrom
tristantarrant:json-fix

Conversation

@tristantarrant

Copy link
Copy Markdown
Member

Fixes #738

  • MapJsonWriter: delegate nested structures inside map value messages instead of throwing IllegalStateException
  • ArrayJsonWriter: write property name when repeated field is first in an object (lastToken is open brace)

Created with the assistance of an AI tool

…fields

- MapJsonWriter: delegate nested structures inside map value messages
  instead of throwing IllegalStateException
- ArrayJsonWriter: write property name when repeated field is first
  in an object (lastToken is open brace)
@jabolina
jabolina merged commit f2bfe07 into infinispan:main Sep 9, 2026
9 checks passed
@jabolina

jabolina commented Sep 9, 2026

Copy link
Copy Markdown
Member

Thanks, @tristantarrant!

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.

JSON conversion fails for maps with nested object values and repeated fields as first field

2 participants