Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

less memory consumption in json deserializer #9

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

tbml
Copy link
Contributor

@tbml tbml commented May 4, 2018

This is attempt to avoid reading the json into memory.

See comment in JavaxJsonDeserializer .
// JSR-353 Does not allow reading "out of structure" values
...
// In the meantime, a poor man's implementation reading the json into memory will do.

There is no way how via javax.json api read 'out of structure' data for all needed cases.
Ie. parsing only Instant value.
( or at least I haven't found how to do it with latest Johnzon and glassfish impl. )

This solution doesn't handle adapters properly I assume.

@asfgit asfgit force-pushed the json-revisited branch from 6b56923 to f8e98b9 Compare May 6, 2018 14:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant