Wietse Venema via Postfix-users: > There is a tool that given a JSONschema will generate a parser in > C that populates a C structure, at github.com/badicsalex/json_schema_to_c > (~300 LOC). This depends on github.com/zserge/jsmn (~500 LOC). The > generated parser is much bigger, over 35 kLOC for the example. This > would be better than hand-written parsers (I'd never trust those), > or generic parsers that produce a generic parse tree and increase > application code complexity.
Oops, "over 35 kLOC" should be "~1000 LOC". I took the number from the wrong column. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org