I have data like so:
{"key": {"name":"hi", "size":10}}
"key" is a dynamic value. It isn't fixed. I can access name
and size
using this JSON Path:
*.name
*.size
How can I get the value of "key" itself with JSON Path? *
gives me the entire row of data, and both $
and @
give me "no element found" in my parser.
I'm trying to do this in Pentaho with a JSON Input step.