Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "size_t len" argument to function 'jsmn_parse' #7

Open
makorne opened this issue Mar 26, 2017 · 1 comment
Open

No "size_t len" argument to function 'jsmn_parse' #7

makorne opened this issue Mar 26, 2017 · 1 comment

Comments

@makorne
Copy link

makorne commented Mar 26, 2017

json.h: error: too few arguments to function 'jsmn_parse'
int ret = jsmn_parse(&parser, js, tokens, n);
int jsmn_parse(jsmn_parser *parser, const char *js, size_t len,
jsmntok_t *tokens, unsigned int num_tokens);

@ghost
Copy link

ghost commented Jan 15, 2019

    ret = jsmn_parse(&parser, js, strlen(js), tokens, n);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant