glideapps / quicktype

Generate types and converters from JSON, Schema, and GraphQL
https://app.quicktype.io
Apache License 2.0
11.76k stars 1.04k forks source link

Request support for RapidJson #2588

Open samacumen opened 2 months ago

samacumen commented 2 months ago

Hello,

The code generated for JSON schema by QuickType seems to support nholmann/json library, but does not seem to support RapidJson.

Q1 Why is this so? Q2: Are there plans to make it support RapidJson as well? Q3: Is there a command line tool to support such generation (like what we see in https://app.quicktype.io/)?

I am interested in C++17 code generation for RapidJson. Please help me answer so that I can use quicktype for our ongoing development.

Many thanks!

samacumen commented 1 month ago

Hi @schani, I saw an earlier post from you from 2017 ([https://github.com/glideapps/quicktype/issues/165])

It mentions RapidJson and nholmann/json. However, I see quicktype only supports nholmann/json (C++), by default. Is there a plan to support RapidJson (C++) as well? I think RapidJson is more preferred for resource constrained embedded use case OR any suggestion how we can include that (or do I need to integrate RapidJson myself into quicktype code).

Looking forward to your response.