mirror of
https://github.com/json-c/json-c.git
synced 2026-03-27 08:59:07 +08:00
bugfix: floating point representaion without fractional part
closes https://github.com/json-c/json-c/issues/278
This commit is contained in:
@@ -31,8 +31,8 @@ new_obj.to_string()={ "foo": "bar", "baz": null, "bool0": true }
|
||||
new_obj.to_string()={ "foo": [ null, "foo" ] }
|
||||
new_obj.to_string()={ "abc": 12, "foo": "bar", "bool0": false, "bool1": true, "arr": [ 1, 2, 3, null, 5 ] }
|
||||
new_obj.to_string()={ "abc": "blue\nred\ngreen" }
|
||||
new_obj.to_string()=[ 0 ]
|
||||
new_obj.to_string()=[ 0 ]
|
||||
new_obj.to_string()=[ 0.0 ]
|
||||
new_obj.to_string()=[ 0.0 ]
|
||||
new_obj.to_string()=null
|
||||
new_obj.to_string()=[ 9223372036854775807 ]
|
||||
==================================
|
||||
|
||||
Reference in New Issue
Block a user