Skip to content
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

Fix JsonSerializer example in reference guide #30329

Closed
wants to merge 1 commit into from

Commits on Mar 19, 2022

  1. Update MyJsonComponent.java

    If you follow the docs writing custom json serializer, it throws  an exception "JsonGenerationException". Of course, if there is an existing Json Generator, it is applicable code, but users (including myself) who usually follow docs are more likely to write the code first. Therefore, I think that the text should be modified as an example with the addition of JsonGenerator.writeStartObject()/writeEndObject() or a separate notice should exist for that part.
    PPakSang committed Mar 19, 2022
    Copy the full SHA
    b5f5a40 View commit details
    Browse the repository at this point in the history