Added a method for jsmn_estimate_tokens(const char *json);

#1 Declined
Repository
Stiny
Branch
default
Repository
zserge
Branch
default
Author
  1. David Lamont
Reviewers
Description

It counts the number of potential tokens in a given string by counting '{' '[' ',' and ':' If it is valid json the int returned should be greater than or equal to the number of actual tokens to use.

Comments (0)