Json-Type: JSON Push Parsing and Type Checking - News
Initial announcement of Json-Type
Item posted by Ştefan Vargyas / István <stvar> on Sun 12 Jun 2016 02:27:27 PM UTC.
This is the initial announcement of Json-Type project:
http://www.nongnu.org/json-type/
Json-Type is a fully-compliant RFC 7159 and ECMA 404 push parser -- validating UTF8 as per the Unicode Standard 8.0.0 -- and an on-the-fly type checker of JSON text. It has a two-tiered structure: the core of its functionality is enclosed in a dynamic library, while the front-end, the main program assembles the variety of use-cases of the library into a convenient and comprehensive command line interface.
Json-Type was first and foremost designed for employing its main service -- the type checking of JSON texts -- in shell scripts that call in Web services programmatically. The program and the library are able to handle gracefully, securely and very efficiently such scenarios as when Web services are sending back huge amounts of JSON data.
The type checker of Json-Type is kind of unconventional: it does not build any kind of a DOM tree nor an AST of its JSON input prior to proceed with type validation. Alternatively, the type checker runs alongside the parser, obeying the very logic of the push-parsing itself: while consuming given chunks of input text one at a time, it stops as soon as it is detecting a type error occurrence in the input given.
The author of this software is Stefan Vargyas <stvar@yahoo.com>.
Powered by Savane 3.14-50d9.
Corresponding source code