Skip to content

adik/simple_json_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

/*****************************************************************************/

 This library provides a simple JSON Parser 
 that may be useful in Arduino projects.


 Usage:

    json_parser_t parser;
    json_init(&parser);

    while ((char c = read())) {
       
        // string parsed
        if (json_parse(&parser, chr) > 0) {

            // get pointer
            char *value = json_get_tag_value(&parser, "event");

            // clean garbage
            free(value);

            // clean 
            json_clean_tokens(&parser);
        }
    } 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published