Skip to content

Json array parsing #14

@YaYaB

Description

@YaYaB

When a json array is inside a json object, the parser may fail.
The current implementation was made so that the order of fields in the json array would be in alphabetical order. It's useful only for debugging.

For example let's take the following

{"history":[{"field_1":[{"subfield_1":"test_1"},{"subfield_1": "test_2"}], "field_2":{"subfield_2":"test_3"}}]}

Here is what we obtain:

"[{""field_1"": ""[{""subfield_1"": ""test_1""},{""subfield_1"": ""test_2""}]"", ""field_2.subfield_2"": ""test_3""}]"

We would have wanted to obtain a list and not a string containing a list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions