JSON Path Query on Map<String, Object> with Wildcard (*)

Given a JSON object represented as nested Map<String, Object> (no string parsing required), implement a jq-like path query.

Input

  • json: Map<String,Object> where values can be scalars or n...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: