azadkuh / gason--

an efficient JSon parser and builder in plain C++
Other
25 stars 13 forks source link

wrong strncmp usage #4

Open velkyel opened 7 years ago

velkyel commented 7 years ago

here:

https://github.com/azadkuh/gason--/blob/7ae346317266a620f6284ff8421f43a5d1310691/src/gason.cpp#L454

key can be beginning substring of it->key. simple strcmp() should fix it.