Skip to content

Nested array in a nested array #252

Closed
@gibix

Description

@gibix

Hello,
I need to encode a json that has a value that is an array of arrays, like this:
{"value1": "x", "value2": [["Yes","No"],["Maybe"]}
is there a way to create a nested array as a value of a nested array in a json object?

I also tried to pass all the string "[[\"Yes\",\"No\"],[\"Maybe\"]" as a value, but the json library encodes the value also with the backslash!

Thanks for the support

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions