-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read JsonObject directly #14
Comments
Hello @atomictag |
Thank you so much. I am about to try out https://github.com/pgelinas/jackson-javax-json to see if that can help (need to switch to Jackson at some point anyway). Thanks again! |
Thank you @atomictag, I didn't know about the parser up until now. |
Using a recent version of |
You are right. I confirmed that Johnzon works for it. Thank you for letting me know. |
More tests and performance tuning come later.
Hello @atomictag |
Hi there, thanks for this really well-thought library.
In my use case I already have a concrete JsonObject which I want to validate against a schema and apply defaults (
withDefaultValues(true)
), returning a new validated JsonObject with defaults applied. How can this be achieved with justify?JsonReaderFactory::createReader
expects an InputStream or a Reader, but not a JsonObject and I had little luck withJsonParserFactory::createParser
which accepts a JsonObject input but I don't seem to manage to collect the stream into another JsonObject. Any help would be greatly appreciated!The text was updated successfully, but these errors were encountered: