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

..10-Dec-2021-

android/H10-Dec-2021-4411

cmake/H10-Dec-2021-1,147986

doc/H10-Dec-2021-3,4572,294

examples/H10-Dec-2021-206137

scripts/H10-Dec-2021-3221

src/H10-Dec-2021-6,1484,409

test/H10-Dec-2021-6,3944,652

.gitignoreH A D10-Dec-2021372 3837

Android.mkH A D10-Dec-2021578 3124

CHANGESH A D10-Dec-202122.8 KiB962567

CleanSpec.mkH A D10-Dec-20212.2 KiB500

LICENSEH A D10-Dec-20211.1 KiB2016

Makefile.amH A D10-Dec-2021355 137

README.rstH A D10-Dec-20212.3 KiB8251

appveyor.ymlH A D10-Dec-2021399 1715

configure.acH A D10-Dec-20215.7 KiB182152

jansson.pc.inH A D10-Dec-2021239 119

release.shH A D10-Dec-20211.6 KiB7144

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