Skip to content

Conversation

alresing
Copy link
Contributor

@alresing alresing commented Sep 9, 2023

Function FlatBufferToString has no argument to set quotes around field names. But many JSON parsers require quotes around field names. Also ToStringVisitor class have an argument to put quotes around field name, but it is not used.

I added argument quotes to function FlatBufferToString with default value false, which was used before changes. I added this argument as the last argument, so it supports backwards compatibility.

@github-actions github-actions bot added the c++ label Sep 9, 2023
@dbaileychess dbaileychess enabled auto-merge (squash) November 18, 2023 21:28
@dbaileychess dbaileychess merged commit 11789e4 into google:master Nov 18, 2023
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
…ault false (google#8090)

Co-authored-by: Derek Bailey <derekbailey@google.com>
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
…ault false (google#8090)

Co-authored-by: Derek Bailey <derekbailey@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants