I ported a JSON parser called JSMN pointed out by Bdub. It is small and fast. If anyone is interested, I put the library and test code on my github.

I ported a JSON parser called JSMN pointed out by Bdub. It is small and fast. If anyone is interested, I put the library and test code on my github.

What? Yay! Thatās sweet!
VERY NICE @peekay123! Canāt wait to throw some big chunks of data at it and see what comes out.
thanks @peekay123 just what i needed!
@peekay123 Yo!
I think I might be in the right place for something Iām trying to accomplish, you can let me know.
I have the Spark Core and the SHT-15 temp & humidity sensor up and running with the data being pushed to the spark cloud and then pulled into my Google Drive Spreadsheet via a script so I can log + graph out the temp data over time.
Now I have been using this for awhile now and it works great but now I want to also have the outside temp and humidity data on the same graph also so I can see the difference between inside and outside temp differences.
What do you think is the easiest way to get my local temp and humidity data pushed into my Google Drive Spreadsheet so I can graph it along with temp and humidity inside?
Is the simple JSON parser able to do this job? How could it work in plain english for this beginner over here 
RWB, it would seem to me you should be pulling it directly from you google script and not through your core. I did a quick google of āpull local weather data into google speadsheetā and found this openWeatherMap free item. You could pull your data using JSON and parse it just like you get the data from the core. 
I get the following errors: http://pastebin.com/MYRAh2ye
It looks like NULL and size_t are not defined. Iāve tried searching around it and looks like they SHOULD be defined but perhaps Iām doing something wrong?
harrisonhjones, you need to add #include āapplication.hā in the jsmnSpark.h file. I posted that before that became a requirement!
Sorry i test JSMN
and change jsmndemo.cpp
js = ā{ātokenā:123456789,ābarcodeā:[123456789,ābarcode01ā],āquantityā:[1,5]}ā;
and resulte = parse failed
how syntax is work ?
i test API me
request
token: 123456789,
barcode: [ ābarcode3ā, ābarcode3ā ],
quantity: [ 1, 1 ] }
response
[{āinfoā:{āapiā:āSummit API Beep to buyā,ācustomeridā:ā0000000000ā,ānameā:{āfirstnameā:āadminā,ālastnameā:āadminā},ātotalā:60,ātokenā:123456789,ādetailā:[{āprodnameā:ābarcode3ā,āunitpriceā:30},{āprodnameā:ābarcode3ā,āunitpriceā:30}]}}]
i want to parse to array obj
prodname[ ] , unitprice[ ] ,
@fangda01, you can get the documentation for the orignal code here: