Escape Handling in JSON parser

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AnSa_1225656
Level 4
Level 4
50 replies posted 25 replies posted 10 replies posted

By changing the following lines in the JSON.c, escape handling in strings handles back slashes correctly.

Line 686 in JSON.c

         case ESCAPE_TOKEN:

++                if (escape_token)

++                    escape_token = WICED_FALSE;

++                else

                    escape_token = WICED_TRUE;

                break;

2 Replies
VikramR_26
Employee
Employee
25 sign-ins 10 sign-ins 10 comments on KBA

Thanks for providing this.

BTW, I was unable to find any documentation on the JSON parser.  Where should I be looking for that?

0 Likes