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

..03-May-2022-

android/H08-Feb-2018-4411

cmake/H09-Sep-2021-629557

doc/H03-May-2022-3,9272,694

examples/H19-Nov-2020-206137

scripts/H03-May-2022-3221

src/H03-May-2022-6,9315,099

test/H03-May-2022-9,9677,815

CHANGESH A D09-Sep-202123.3 KiB987581

LICENSEH A D05-May-20201.1 KiB2016

Makefile.amH A D07-May-2020355 137

Makefile.inH A D03-May-202240.6 KiB1,2411,104

README.rstH A D25-Jan-20212.4 KiB8251

aclocal.m4H A D09-Sep-2021364.8 KiB10,2009,220

compileH A D09-Sep-20217.2 KiB349259

config.guessH A D09-Sep-202148.2 KiB1,7491,522

config.subH A D09-Sep-202134.2 KiB1,8741,687

configureH A D09-Sep-2021605.4 KiB20,12416,972

configure.acH A D09-Sep-20215.7 KiB182152

depcompH A D09-Sep-202123 KiB792502

install-shH A D09-Sep-202115 KiB542352

jansson.pc.inH A D08-Feb-2018239 119

jansson_private_config.h.inH A D09-Sep-20214.7 KiB161112

ltmain.shH A D09-Sep-2021323.5 KiB11,3708,157

missingH A D09-Sep-20216.7 KiB216143

test-driverH A D09-Sep-20214.8 KiB15489

README.rst

1Jansson README
2==============
3
4.. image:: https://github.com/akheron/jansson/workflows/tests/badge.svg
5  :target: https://github.com/akheron/jansson/actions
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