hacst / spirit2json

spirit2json is an attempt at a standards-compliant json parser/generator written in C++ using Boost Spirit 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spirit2JSON

What is it?

A work in progress json parser/generator written in C++ using the Boost Spirit library. Up to now the following parts have been implemented:

  • JSON AST representation based on Boost::Variant
  • Parser for basic JSON syntax using Spirit::Qi
  • Test coverage for basic JSON syntax using the Boost Test Library
  • Pretty printer for internal AST types

What is it not?

Done ;-) There's a lot of work left to do but some of the major areas are:

  • Better test coverage for parser
  • Test coverage for generator/pretty printer
  • Creation of a usable API
  • Numeric parser adhering to JSON standards
  • Proper error reporting

Where is the documentation?

You can find autogenerated doxygen documentation at http://d0t.dbclan.de/spirit2json-doc/index.html .

Can I contribute?

Yes please. Contributions as well as bugreports are most welcome.

About

spirit2json is an attempt at a standards-compliant json parser/generator written in C++ using Boost Spirit 2


Languages

Language:C++ 98.8%Language:C 1.2%