Gets all children of the specified JSON object that
+ contain the specified key; the method will remove matching keys. As
+ an example, consider this object:
+ [{"key":"value1","foo":"foovalue"},
+ {"key":"value2","bar":"barvalue"}, {"baz":"bazvalue"}]
If
+ getPointersToKey is called on this object with a keyToFind called
+ "key", we get the following Map as the return value:
+ { "/0" => "value1", // "/0" points to {"foo":"foovalue"} "/1"
+ => "value2" /* "/1" points to {"bar":"barvalue"} */ }
and the
+ JSON object will change to the following:
+ [{"foo":"foovalue"}, {"bar":"barvalue"},
+ {"baz","bazvalue"}]
.
+