Menu

Tree [r8] /
 History

HTTPS access


File Date Author Commit
 demo 2009-06-03 kydos [r8] 2009-06-03 Angelo Corsaro <corsaro@...>
 doc 2008-12-24 kydos [r1] JOST v0.2
 lib 2008-12-24 kydos [r1] JOST v0.2
 src 2009-06-03 kydos [r8] 2009-06-03 Angelo Corsaro <corsaro@...>
 ChangeLog 2009-06-03 kydos [r8] 2009-06-03 Angelo Corsaro <corsaro@...>
 LICENSING 2008-12-24 kydos [r1] JOST v0.2
 Makefile 2008-12-24 kydos [r1] JOST v0.2
 README 2008-12-24 kydos [r1] JOST v0.2

Read Me

:: WHAT IS IT? ::

JOST is a JSON (see http://www.json.org) parser and encoder written
using the Spirit, the BOOST LL Parsing Framwork (see www.boost.org). 
1

:: COMPILING ::

In order to succesfully compile JOST you have to get a working
installation of BOOST (>= 1.33.1). Beaware that JOST Makefiles require
both the BOOST_INCLUDE_DIR and BOOST_LIB_DIR to be defined. 

The Makefiles are currently pretty simple and support both Linux as
well as MacOS X. To select one or the other type one of the following:

$ make osx=1

-or-

$ make linux=1

This will build both the JOST library as well as the demo application.


:: CONTACT ::

For questions, bug fixes, contribution, etc., feel free to contact
Angelo Corsaro<angelo.corsaro@gmail.com>

:: DEMO ::

To familiarize with the JOST APIs take a look at the demo directory. A
simple yet useful example is the JSON validator. To play with it do
the following:

$ cd demo/jsonv
$ ./jsonv simple-object.json
-------------------------
Parsed JSON Object:
{"Key":"Radar-1","T":4,"x":100,"y":75,"z":98}
-------------------------

$ ./jsonv complex-object.json 
-------------------------
Parsed JSON Object:
{"attribute":["random","short","bold",12,{"height":7,"width":64}],"count":1234,"name":{"aka":"T.E.S.T.","id":123987},"test":{"1":{"2":{"3":{"coord":[1,2]}}}}}
-------------------------