zserge / jsmn

Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket
MIT License
3.65k stars 778 forks source link

Incorrect description in official website #184

Open yoshinao-takada opened 4 years ago

yoshinao-takada commented 4 years ago

https://zserge.com/jsmn/, The official website has a description of API/jsmntype_t as typedef enum { JSMN_PRIMITIVE = 0, ... It conflicts with the actual source code. Actually JSMN_UNDEFINED = 0, JSMN_PRIMITIVE = 4. It might confuse beginners like me.