• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

android/H07-May-2020-

cmake/H07-May-2020-

doc/H07-May-2020-

examples/H07-May-2020-

scripts/H07-May-2020-

src/H07-May-2020-

test/H07-May-2020-

.clang-formatH A D07-May-2020102

.gitignoreH A D07-May-2020371

.travis.ymlH A D07-May-20202.1 KiB

Android.mkH A D07-May-2020578

CHANGESH A D07-May-202022.8 KiB

CleanSpec.mkH A D07-May-20202.2 KiB

LICENSEH A D07-May-20201.1 KiB

Makefile.amH A D07-May-2020355

README.rstH A D07-May-20202.3 KiB

appveyor.ymlH A D07-May-2020399

configure.acH A D07-May-20205.5 KiB

jansson.pc.inH A D07-May-2020239

release.shH A D07-May-20201.6 KiB

README.rst

1Jansson README
2==============
3
4.. image:: https://travis-ci.org/akheron/jansson.png
5  :target: https://travis-ci.org/akheron/jansson
6
7.. image:: https://ci.appveyor.com/api/projects/status/lmhkkc4q8cwc65ko
8  :target: https://ci.appveyor.com/project/akheron/jansson
9
10.. image:: https://coveralls.io/repos/akheron/jansson/badge.png?branch=master
11  :target: https://coveralls.io/r/akheron/jansson?branch=master
12
13Jansson_ is a C library for encoding, decoding and manipulating JSON
14data. Its main features and design principles are:
15
16- Simple and intuitive API and data model
17
18- `Comprehensive documentation`_
19
20- No dependencies on other libraries
21
22- Full Unicode support (UTF-8)
23
24- Extensive test suite
25
26Jansson is licensed under the `MIT license`_; see LICENSE in the
27source distribution for details.
28
29
30Compilation and Installation
31----------------------------
32
33You can download and install Jansson using the `vcpkg <https://github.com/Microsoft/vcpkg/>`_ dependency manager:
34
35.. code-block:: bash
36
37    git clone https://github.com/Microsoft/vcpkg.git
38    cd vcpkg
39    ./bootstrap-vcpkg.sh
40    ./vcpkg integrate install
41    vcpkg install jansson
42
43The Jansson port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please `create an issue or pull request <https://github.com/Microsoft/vcpkg/>`_ on the vcpkg repository.
44
45If you obtained a `source tarball`_ from the "Releases" section of the main
46site just use the standard autotools commands::
47
48   $ ./configure
49   $ make
50   $ make install
51
52To run the test suite, invoke::
53
54   $ make check
55
56If the source has been checked out from a Git repository, the
57./configure script has to be generated first. The easiest way is to
58use autoreconf::
59
60   $ autoreconf -i
61
62
63Documentation
64-------------
65
66Documentation is available at http://jansson.readthedocs.io/en/latest/.
67
68The documentation source is in the ``doc/`` subdirectory. To generate
69HTML documentation, invoke::
70
71   $ make html
72
73Then, point your browser to ``doc/_build/html/index.html``. Sphinx_
741.0 or newer is required to generate the documentation.
75
76
77.. _Jansson: http://www.digip.org/jansson/
78.. _`Comprehensive documentation`: http://jansson.readthedocs.io/en/latest/
79.. _`MIT license`: http://www.opensource.org/licenses/mit-license.php
80.. _`source tarball`: http://www.digip.org/jansson#releases
81.. _Sphinx: http://sphinx.pocoo.org/
82