[fpc-pascal] JSON-Schema added

Thomas Kurz fpc.2021 at t-net.ruhr
Sat Aug 17 19:42:20 CEST 2024


Great!

Is this Json Typedef as described here? https://jsontypedef.com/

Thomas


----- Original Message ----- 
From: Michael Van Canneyt via fpc-pascal <fpc-pascal at lists.freepascal.org>
To: Lazarus mailing list <lazarus at lists.lazarus-ide.org>
Sent: Saturday, August 17, 2024, 16:52:32
Subject: [fpc-pascal] JSON-Schema added


Hi,

I added a JSON-Schema class to FPC. It currently supports the latest JSON-Schema draft (2020-12)
There also is a validator class. There is a testsuite, but testsuites only go so far, 
so I'd appreciate some feedback from people who have need for JSON-schema.
(in particular, the $ref handling is a bit hairy. Available documentation is
definitely lacking in clarity)

The next step is adding support for OpenApi (AKA swagger).

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list