Skip to content

Conversation

@Dee66
Copy link

@Dee66 Dee66 commented Dec 31, 2025

/claim #712

- Implement strict EOF checking in JsonCodec.decode
- Add decodeString, decodeToCharBuffer, encodeString, encodeToCharBuffer methods
- Reject JSON input with trailing characters after valid JSON
- Fixes zio#712
- Modify JsonDecoder.decode to use decodeJson for strict EOF checking
- Add decodeString, decodeToCharBuffer, encodeString, encodeToCharBuffer methods
- Reject JSON input with trailing characters after valid JSON
- Add comprehensive tests for trailing character rejection
- Closes zio#712
@Dee66 Dee66 force-pushed the feature/issue-712-json-codec branch from 81086df to 92aed8b Compare December 31, 2025 20:42
@Dee66
Copy link
Author

Dee66 commented Dec 31, 2025

demo.mp4

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JsonCodec decoder accepts malformed JSON string with extra characters

1 participant