dump: Revise whitespace usage
authorPetri Lehtinen <petri@digip.org>
Wed, 4 Nov 2009 19:24:22 +0000 (21:24 +0200)
committerPetri Lehtinen <petri@digip.org>
Wed, 4 Nov 2009 20:09:40 +0000 (22:09 +0200)
commitf236c14dc5457a41119492ebce41b8920fd31f65
tree81421d7cf8ce211eed575a4ff74825a48624db8b
parentbf01067a8a73b1a69301c99adbfa76ca836cedb7
dump: Revise whitespace usage

- Never append newline to output
- By default, add spaces between array and object items for more
  readable output
- Introduce the flag JSON_COMPACT to not add the aforementioned spaces
doc/apiref.rst
src/dump.c
src/jansson.h
test/.gitignore
test/testprogs/Makefile.am
test/testprogs/test_dump.c [new file with mode: 0644]