Logo
Explore Help
Sign In
mirror/json-c
1
0
Fork 0
You've already forked json-c
mirror of https://github.com/json-c/json-c.git synced 2026-03-20 05:29:07 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
json_object-split
json-c/tests/test_locale.expected

3 lines
113 B
Plaintext
Raw Permalink Normal View History

Issue #195: Actually call uselocale() in the new locale handling code in json_tokener. Also, be sure the right locale_t is freed if we fail on the second uselocale. Finally, fix test_locale so it *doesn't* use json_object_to_json_string as that will simple re-emit the original parsed string values.
2016-07-31 14:39:56 -04:00
new_obj.to_string()=[1.20,3.40,123456.78,5.00,23000000000.00]
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.
2013-09-11 20:27:39 -05:00
new_obj.to_string()=[1.2,3.4,123456.78,5.0,2.3e10]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 35ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API 粤ICP备2023071974号-5