summaryrefslogtreecommitdiff
path: root/tests/test_locale.expected
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2013-09-11 20:27:39 -0500
committerEric Haszlakiewicz <erh+git@nimenees.com>2013-09-11 20:27:39 -0500
commit51993c28c2721b00340e1ddbd9bb133fdedf1bf4 (patch)
treee18192800a28eae1aaafb36648a3320d37e07ff5 /tests/test_locale.expected
parentb83e0f11826e86747885fc066fa5b06d50f60520 (diff)
downloadjson-c-51993c28c2721b00340e1ddbd9bb133fdedf1bf4.tar.gz
Added a json_object_new_double_s() convenience function to allow an exact string representation of a double to be specified when creating the object and use it in json_tokener_parse_ex() so a re-serialized object more exactly matches the input.
Add json_object_free_userdata() and json_object_userdata_to_json_string() too.
Diffstat (limited to 'tests/test_locale.expected')
-rw-r--r--tests/test_locale.expected4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_locale.expected b/tests/test_locale.expected
index 8031785..0068be4 100644
--- a/tests/test_locale.expected
+++ b/tests/test_locale.expected
@@ -1,2 +1,2 @@
-new_obj.to_string()=[ 1.200000, 3.400000, 123456.780000, 5.000000, 23000000000.000000 ]
-new_obj.to_string()=[1.2,3.4,123456.78,5.0,23000000000.0]
+new_obj.to_string()=[ 1.2, 3.4, 123456.78, 5.0, 2.3e10 ]
+new_obj.to_string()=[1.2,3.4,123456.78,5.0,2.3e10]