Skip to content

Add nested object capability to pointers #323

Description

@clwill

You currently can create a new object with

j["this"]["that"] = 27;

and if this and/or that don't exist, it's all good, it creates this as an object and puts that in it.

But if you use pointers (e.g. "/this/that") it throws an exception if this doesn't exist.

For example:

j.at("/this/that"_json_pointer) = 27;

would be nice.

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions