in reply to convert JSON to JSON Paths -- try not to reinvent the wheel (?)
Hi,
See JSON::Pointer, Mojo::JSON::Pointer :-)
Hope this helps!