src/fatParse.c
/*
 * FAT 0/1 Json Parser
 */
FAT 0/1 Json Parser
FAT 0 / 1 Json Parser
static int jsoneq(const int8_t *json, jsmntok_t *tok, const char *s) {
  if (tok->type == JSMN_STRING && (int)strlen(s) == tok->end - tok->start &&
      strncmp((char*)&json[tok->start], s, tok->end - tok->start) == 0) {
    return 0;
  }
  return -1;
}
static int jsoneq ( const int8_t * json , jsmntok_t * tok , const char * s ) { if ( tok -> type == JSMN_STRING && ( int ) strlen ( s ) == tok -> end - tok -> start && strncmp ( ( char * ) & json [ tok -> start ] , s , tok -> end - tok -> start ) == 0 ) { return 0 ; } return -1 ; }
FAT 0/1 Json Parser
FAT 0 / 1 Json Parser