Re: JSON Schema support in C++ with boost::json?
Alex via Boost-users <[email protected]> Tue, 8 Apr 2025 18:49:11 +0100
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <CAEMDno8TM4KK+4Ek5CCOzumP5gL67TCVkKig1ww_rmEd7LKQ0w@mail.gmail.com> |
--===============0325237522856490179== Content-Type: multipart/alternative; boundary="0000000000000c0a3d063247f9d1" --0000000000000c0a3d063247f9d1 Content-Type: text/plain; charset="UTF-8" > 3. Generate validation code that can emit informative messages about failed validation. Valijson ( https://github.com/tristanpenman/valijson ) apparently supports Boost.Json for schema validation, although I haven't used it personally. Most C++ implementations of schema validation don't support a lot of the newer JSON schema versions. You could take a look at some of the C++ tools at https://json-schema.org/tools?query=&sortBy=name&sortOrder=ascending&groupBy=toolingTypes&licenses=&languages=&drafts=&toolingTypes=&environments= Regards, Alex Simpson --0000000000000c0a3d063247f9d1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">>=C2=A0 3.=C2=A0 Generate validation code that can emit informative messages about<= br>failed validation.<div><br></div><div>Valijson (=C2=A0<a href=3D"https:/= /github.com/tristanpenman/valijson">https://github.com/tristanpenman/valijs= on</a> ) apparently supports Boost.Json for schema validation, although I h= aven't used it personally.</div><div><br></div><div>Most C++ implementa= tions of schema validation don't support a lot of the newer JSON schema= versions. You could take a look at some of the C++ tools at=C2=A0<a href= =3D"https://json-schema.org/tools?query=3D&sortBy=3Dname&sortOrder= =3Dascending&groupBy=3DtoolingTypes&licenses=3D&languages=3D&am= p;drafts=3D&toolingTypes=3D&environments=3D">https://json-schema.or= g/tools?query=3D&sortBy=3Dname&sortOrder=3Dascending&groupBy=3D= toolingTypes&licenses=3D&languages=3D&drafts=3D&toolingType= s=3D&environments=3D</a></div><div><br></div><div>Regards,</div><div>Al= ex Simpson</div></div> --0000000000000c0a3d063247f9d1-- --===============0325237522856490179== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Boost-users mailing list [email protected] https://lists.boost.org/mailman/listinfo.cgi/boost-users --===============0325237522856490179==--