Closed fracasula closed 7 months ago
@fracasula if you have one of the latest releases of GJSON you can use the new @dig
modifier (see SYNTAX.md):
@dig:updatedAt
or, using the standard approach you can use (see the Dot vs Pipe section of the syntax docs):
#.workspaces.@values.#.updatedAt|0
In both cases they return:
["2009-11-17T20:34:58.651387237Z","2009-11-21T20:34:58.651387237Z","2009-11-19T20:34:58.651387237Z"]
Right, that makes sense, thanks @volans-! :+1:
Given this small example:
I get the correct output:
I find it hard to figure out how to do it in one go though.
These do not seem to work:
#.workspaces.@values.#.updatedAt.0.@values
#.workspaces.@values.#.updatedAt.@values
#.workspaces.@values.#.updatedAt.#.@values
Can you help please?