7 Commits (master)

Author SHA1 Message Date
  chenguoping 1446572997 add testcases of object and token 5 years ago
  Eric Haszlakiewicz b1ad748842 Extend test_double_serializer to check NaN and Infinity handling. 5 years ago
  Eric Haszlakiewicz 485f2a02c7 Issue #486: append a missing ".0" to negative double values too. 6 years ago
  Eric Haszlakiewicz d5da847f51 PR#394: don't always append the ".0" if the double value rounds to zero because some custom formats *will* include it (e.g. %.2f). 7 years ago
  Eric Haszlakiewicz 23e064ad29 Fix test_double_serializer expected output. 8 years ago
  Eric Haszlakiewicz 1a94c70336 Add a json_c_set_serialization_double_format() function to set the *library-wide* format for how doubles are written to a serialized JSON output. 8 years ago
  Matthias Schiffer c2b004ba0e
Make default double serializer ignore userdata again 9 years ago