KB:Json Path Query
Jason root = $ $.element. if you have "jq" installed you can use the -c 'path' to see compacted list of all the elements. the $ symbol is often used to represent the root element in JSON data when using tools or languages that support JSONPath, which is a query language for JSON data similar to XPath for XML. Here's why and how it's used: Why Use $ in JSONPath? Root Reference: The $ symbol in JSONPath represents the root object or array. It's a way to anchor your query to the very beginning of the JSON structure. Navigation: From the $ root, you can navigate through the JSON structure to access nested elements or values by specifying keys or indices. Function Description Example Result text the plain text kind is {.kind} kind is List @ the current object {@} the same as input . or [] child operator {.kind} , {['kind']} or {['name\.type']} List .. recursive descent {..name} 127.0.0.1 127.0.0.2 myself e2e * wildcard. Get all ob...