|
1 |
| -* Introduction: |
2 |
| -
|
3 |
| -JSON (JavaScript Object Notation) is a lightweight data-interchange format. |
4 |
| -It can represent integer, real number, string, an ordered sequence of |
5 |
| -value, and a collection of name/value pairs. |
6 |
| -
|
7 |
| -JsonCpp is a simple API to manipulate JSON value, and handle serialization |
8 |
| -and unserialization to string. |
9 |
| -
|
10 |
| -It can also preserve existing comment in unserialization/serialization steps, |
11 |
| -making it a convenient format to store user input files. |
12 |
| -
|
13 |
| -Unserialization parsing is user friendly and provides precise error reports. |
14 |
| -
|
15 |
| -* Building/Testing: |
16 |
| -
|
17 |
| -JsonCpp uses Scons (http://www.scons.org) as a build system. Scons requires |
18 |
| -python to be installed (http://www.python.org). |
19 |
| -
|
20 |
| -You download scons-local distribution from the following url: |
21 |
| -http://sourceforge.net/project/showfiles.php?group_id=30337&package_id=67375 |
22 |
| -
|
23 |
| -Unzip it in the directory where you found this README file. scons.py Should be |
24 |
| -at the same level as README. |
25 |
| -
|
26 |
| -python scons.py platform=PLTFRM [TARGET] |
27 |
| -where PLTFRM may be one of: |
28 |
| - suncc Sun C++ (Solaris) |
29 |
| - vacpp Visual Age C++ (AIX) |
30 |
| - mingw |
31 |
| - msvc6 Microsoft Visual Studio 6 service pack 5-6 |
32 |
| - msvc70 Microsoft Visual Studio 2002 |
33 |
| - msvc71 Microsoft Visual Studio 2003 |
34 |
| - msvc80 Microsoft Visual Studio 2005 |
35 |
| - linux-gcc Gnu C++ (linux, also reported to work for Mac OS X) |
36 |
| - |
37 |
| -adding platform is fairly simple. You need to change the Sconstruct file |
38 |
| -to do so. |
39 |
| - |
40 |
| -and TARGET may be: |
41 |
| - check: build library and run unit tests. |
42 |
| - doc: build documentation |
43 |
| - doc-dist: build documentation tarball |
44 |
| -
|
| 1 | +* Introduction: |
| 2 | + |
| 3 | +JSON (JavaScript Object Notation) is a lightweight data-interchange format. |
| 4 | +It can represent integer, real number, string, an ordered sequence of |
| 5 | +value, and a collection of name/value pairs. |
| 6 | + |
| 7 | +JsonCpp is a simple API to manipulate JSON value, and handle serialization |
| 8 | +and unserialization to string. |
| 9 | + |
| 10 | +It can also preserve existing comment in unserialization/serialization steps, |
| 11 | +making it a convenient format to store user input files. |
| 12 | + |
| 13 | +Unserialization parsing is user friendly and provides precise error reports. |
| 14 | + |
| 15 | +* Building/Testing: |
| 16 | + |
| 17 | +JsonCpp uses Scons (http://www.scons.org) as a build system. Scons requires |
| 18 | +python to be installed (http://www.python.org). |
| 19 | + |
| 20 | +You download scons-local distribution from the following url: |
| 21 | +http://sourceforge.net/project/showfiles.php?group_id=30337&package_id=67375 |
| 22 | + |
| 23 | +Unzip it in the directory where you found this README file. scons.py Should be |
| 24 | +at the same level as README. |
| 25 | + |
| 26 | +python scons.py platform=PLTFRM [TARGET] |
| 27 | +where PLTFRM may be one of: |
| 28 | + suncc Sun C++ (Solaris) |
| 29 | + vacpp Visual Age C++ (AIX) |
| 30 | + mingw |
| 31 | + msvc6 Microsoft Visual Studio 6 service pack 5-6 |
| 32 | + msvc70 Microsoft Visual Studio 2002 |
| 33 | + msvc71 Microsoft Visual Studio 2003 |
| 34 | + msvc80 Microsoft Visual Studio 2005 |
| 35 | + linux-gcc Gnu C++ (linux, also reported to work for Mac OS X) |
| 36 | + |
| 37 | +adding platform is fairly simple. You need to change the Sconstruct file |
| 38 | +to do so. |
| 39 | + |
| 40 | +and TARGET may be: |
| 41 | + check: build library and run unit tests. |
| 42 | + doc: build documentation |
| 43 | + doc-dist: build documentation tarball |
| 44 | + |
0 commit comments