forkachild / C-Simple-JSON-Parser

Extremely lightweight, easy-to-use & blazing fast JSON parsing library written in pure C
https://forkachild.github.io/C-Simple-JSON-Parser/
MIT License
45 stars 16 forks source link

added parsing of numerical values #4

Closed Logan007 closed 2 years ago

Logan007 commented 2 years ago

This pull request makes numerical values without quotes such as "age":23.5 go into .....->doubleValue of type double which could be type-casted to caller needs for further use e.g. if int were required. Type indicator is JSON_DOUBLE.

Fixes #3