{"action":"created","issue":{"url":"https://api.github.com/repos/DaveGamble/cJSON/issues/144","repository_url":"https://api.github.com/repos/DaveGamble/cJSON","labels_url":"https://api.github.com/repos/DaveGamble/cJSON/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/DaveGamble/cJSON/issues/144/comments","events_url":"https://api.github.com/repos/DaveGamble/cJSON/issues/144/events","html_url":"https://github.com/DaveGamble/cJSON/issues/144","id":219755345,"number":144,"title":"cJSON_AddNumberToObject issue zero","user":{"login":"xiaolonghunwuguifang","id":26945366,"avatar_url":"https://avatars1.githubusercontent.com/u/26945366?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaolonghunwuguifang","html_url":"https://github.com/xiaolonghunwuguifang","followers_url":"https://api.github.com/users/xiaolonghunwuguifang/followers","following_url":"https://api.github.com/users/xiaolonghunwuguifang/following{/other_user}","gists_url":"https://api.github.com/users/xiaolonghunwuguifang/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaolonghunwuguifang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaolonghunwuguifang/subscriptions","organizations_url":"https://api.github.com/users/xiaolonghunwuguifang/orgs","repos_url":"https://api.github.com/users/xiaolonghunwuguifang/repos","events_url":"https://api.github.com/users/xiaolonghunwuguifang/events{/privacy}","received_events_url":"https://api.github.com/users/xiaolonghunwuguifang/received_events","type":"User","site_admin":false},"labels":[{"id":476777260,"url":"https://api.github.com/repos/DaveGamble/cJSON/labels/needs%20info","name":"needs info","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-04-06T00:42:14Z","updated_at":"2017-04-10T02:58:02Z","closed_at":null,"body":"hi, when i use the cjson to encode a number type json on the CC3200 of Cortex M4\r\n,the code is just like this.\r\n```c\r\ncJSON_AddNumberToObject(root, \"error\", 200);\r\n```\r\nnot matter what value you input to the \"error\",the result is always be zero .\r\nif you use other type of the data,such as char or string ,that will be ok .\r\ni don't know how to corrtect this issue ,some suggestion will be helpful.\r\nit is quite ok while use it on the ATMEGA1284P of ATMEL."},"comment":{"url":"https://api.github.com/repos/DaveGamble/cJSON/issues/comments/292838339","html_url":"https://github.com/DaveGamble/cJSON/issues/144#issuecomment-292838339","issue_url":"https://api.github.com/repos/DaveGamble/cJSON/issues/144","id":292838339,"user":{"login":"xiaolonghunwuguifang","id":26945366,"avatar_url":"https://avatars1.githubusercontent.com/u/26945366?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaolonghunwuguifang","html_url":"https://github.com/xiaolonghunwuguifang","followers_url":"https://api.github.com/users/xiaolonghunwuguifang/followers","following_url":"https://api.github.com/users/xiaolonghunwuguifang/following{/other_user}","gists_url":"https://api.github.com/users/xiaolonghunwuguifang/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaolonghunwuguifang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaolonghunwuguifang/subscriptions","organizations_url":"https://api.github.com/users/xiaolonghunwuguifang/orgs","repos_url":"https://api.github.com/users/xiaolonghunwuguifang/repos","events_url":"https://api.github.com/users/xiaolonghunwuguifang/events{/privacy}","received_events_url":"https://api.github.com/users/xiaolonghunwuguifang/received_events","type":"User","site_admin":false},"created_at":"2017-04-10T02:58:02Z","updated_at":"2017-04-10T02:58:02Z","body":"That was ok , thank you all the same . the floating point is just a type of C system.\r\ni don't have any idear about this . when i ask the qustion about this issue in the CC3200 Forum, they said it \r\nis not part of the CC3200 library,so  they can offer any support.\r\na. here is the first result of the console \r\nnumber = 0.000000\r\nnumber = 0.000000\r\nb.here is the second result of the console \r\nnumber = 0.000000\r\n200 = 0.000000\r\n200.0 = 0.000000\r\n\r\nif you need other any message ,please let me know.\r\nthanks\r\n\r\n \r\n"}}
{"actor":{"display_login":"xiaolonghunwuguifang"}}