This my json packet and I want to read "14.469121":

```
{"jsonrpc": "2.0", "method": "notifySpeed", "params": {"speed": "14.469121"}}

```

I tried some online solutions and implemented some logic.

```
ptr = strtok(parse_recData,", ");

     while(ptr != NULL)
     {
         countTillMethod--;
         if(countTillMethod == 0)
         {
             if(strcmp(ptr,"\"notifySpeed\"")==0)
             {
              if(!(strcmp(ptr,"\"Speed\"" )))

                Speed = strtok(NULL,", ");

                 SpeedValue = atoi (Speed);

                 if (SpeedValue > PERMISSIBLE_LIMIT)
                            touchControl (DISABLE);
                 else
                            touchControl (ENABLE);
            }
         }
     }

```

I want to read speed data.