Skip to content

support for comments #225

@yueswing07

Description

@yueswing07

there is many situations need read configure file has annotation
i have test the code

char *s = "{//aa \n \"list\":[{\"name\":\"22xiao hong\",\"age\":10},{\"name\":\"33hua hua\",\"age\":\"11\"}]}";  
    cJSON *root = cJSON_Parse(s);

parse return NULL

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions