Skip to content

nesting json objects #737

@sqwunkly

Description

@sqwunkly

RE: Nesting json objects

Is there a way to directly nest json objects in similar manner?

json outerObj = { "misting" , { "isMisting" , true } };
json nestedObj = { "duration" , { "hours" , 2}, { "mins" , 30 }, {"secs" , 20 } };
json result = outerObj[ nestedObj ]; // does not work

To obtain this:-
image

What is most direct way to achieve this?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions