You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm not sure if I'm right here or should create new issue on contiki.
I try it here at first, because I use the esp8266 sdk and not contiki stuff.
Issue:
If you use "jsonparse_strcmp_value(struct jsonparse_state *state, const char *str)" for compare expected value, jsonparse only compare the length of "state" value. But it is not what you normally expect.
Use case: If I'm searching for "brightness" and json data contain "b" (e.g. in "color" object), the "jsonparse_strcmp_value" will return 0, because in this case it compares only 1 character and this character match. But, I guess, it's not that, what you normally expect, isn't it?