Add a json_set_serializer() function to allow the string output of a json_object to be customized.

This commit is contained in:
Eric Haszlakiewicz
2012-09-02 15:21:56 -05:00
parent f74e8f8f9b
commit 38f421a2e7
8 changed files with 214 additions and 10 deletions

12
tests/test_set_serializer.test Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Common definitions
if test -z "$srcdir"; then
srcdir="${0%/*}"
test "$srcdir" = "$0" && srcdir=.
test -z "$srcdir" && srcdir=.
fi
. "$srcdir/test-defs.sh"
run_output_test test_set_serializer
exit $?