mirror of
https://github.com/json-c/json-c.git
synced 2026-04-01 19:39:07 +08:00
Add a json_set_serializer() function to allow the string output of a json_object to be customized.
This commit is contained in:
12
tests/test_set_serializer.test
Executable file
12
tests/test_set_serializer.test
Executable 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 $?
|
||||
Reference in New Issue
Block a user