Skip to content

Is it necessary to add a function that filters out json format strings? #1536

@ZhengXuan-Xie

Description

@ZhengXuan-Xie

In my project,I meet a problem.

the string format is: "[{xxxx},{xxxx},{xxxx},{xxxx},{xxxx}......]"

It seems that jsoncpp only can process string like this format: {xxxx}
so I can't parse this string.

I had deal with this problem by regex like this:
1716298570192
the code is not complete,when the code meet a json in json, like this:{ A , B , { C , D } , { E } , F }, I think the code will get wrong result.

But i will make it work well.

can I add this function to jsoncpp?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions