Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

get<Number> at android armbi has error #38

Open
Felix-Mao opened this issue Oct 15, 2014 · 1 comment
Open

get<Number> at android armbi has error #38

Felix-Mao opened this issue Oct 15, 2014 · 1 comment

Comments

@Felix-Mao
Copy link

source json String is {"now":[{"action":6,}]},
but after parse,result is {"action":2.086006742350501e-309},

@hjiang
Copy link
Owner

hjiang commented Feb 21, 2021

I don't have the specific hardware. But the test case seems to be ok for me.

$ echo '{"now":[{"action":6,}]}' > test.json            

$ ./jsonxx_test test.json                      
{
	"now": [
		{
			"action": 6 
		} 
	] 
} 

All tests ok.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants