]> granicus.if.org Git - json-c/commit
Make default double serializer ignore userdata again
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 29 May 2016 02:54:38 +0000 (04:54 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 29 May 2016 09:24:55 +0000 (11:24 +0200)
commitc2b004ba0e8a1f9afab2f0c535e1c520124dcc9f
treea04fee832bb942a4b4b464fe42cd941c163b0842
parent7ae5c3f7a679fa52e8366f846a98b513e83ffc20
Make default double serializer ignore userdata again

The user might want to use the userdata for something different, so the
serializer should ignore it by default.

Explicitly setting the serializer to json_object_double_to_json_string will
still make it interpret the userdata as a format string.
.gitignore
json_object.c
tests/Makefile.am
tests/test_double_serializer.c [new file with mode: 0644]
tests/test_double_serializer.expected [new file with mode: 0644]
tests/test_double_serializer.test [new file with mode: 0755]