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">&gt;=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&#39;t used it personally.</div><div><br></div><div>Most C++ implementa=
tions of schema validation don&#39;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&amp;sortBy=3Dname&amp;sortOrder=
=3Dascending&amp;groupBy=3DtoolingTypes&amp;licenses=3D&amp;languages=3D&am=
p;drafts=3D&amp;toolingTypes=3D&amp;environments=3D">https://json-schema.or=
g/tools?query=3D&amp;sortBy=3Dname&amp;sortOrder=3Dascending&amp;groupBy=3D=
toolingTypes&amp;licenses=3D&amp;languages=3D&amp;drafts=3D&amp;toolingType=
s=3D&amp;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==--