Replies: 2 comments
-
Can you provide an example? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@mwhellwig Did you mean to ask this in https://github.com/glideapps/quicktype ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I generated C++ code from a JSON schema. The schema has a field called acceleration which contains sub-fields: east, north, up and accuracy. The accuracy field also contains east, north and up (but no accuracy). The generator reused the quicktype::acceleration class for accuracy. The problem with this is that the accuracy field now has an accuracy sub-field. This shows up in the JSON output. Is there a way to suppress the reuse of classes?
Beta Was this translation helpful? Give feedback.
All reactions