1. Serge Zaitsev
  2. jsmn

Source

jsmn / jsmn.c

Diff from to

File jsmn.c

  • Ignore whitespace
 		switch (js[parser->pos]) {
 #ifndef JSMN_STRICT
 			/* In strict mode primitive must be followed by "," or "}" or "]" */
-			case '\t' : case '\r' : case '\n' : case ' ' : case ':': 
+			case ':':
 #endif
+			case '\t' : case '\r' : case '\n' : case ' ' :
 			case ','  : case ']'  : case '}' :
 				goto found;
 		}