currentToken = tokens[index]; tokenSize = currentToken.end - currentToken.start; if(tokenSize <= 0){ continue; } printf("Current token %.*s\n", tokenSize, startOfJson + currentToken.start);
In actual fact, I'll have to copy the data to a char array to be sent to display in the listbox.
> hence I need to use those values to copy out from memory to a separate char array for printing purposes. Certainly not so trivial.