Skip to content

nesting json objects #737

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions