You currently can create a new object with
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.
You currently can create a new object with
and if
thisand/orthatdon't exist, it's all good, it createsthisas an object and putsthatin it.But if you use pointers (e.g.
"/this/that") it throws an exception ifthisdoesn't exist.For example:
would be nice.