Step - json_path

json_path · jsonPath · category: Values and properties

Reads a nested value from each element with a JSONPath (Graphersal extension, see the book page Path keys (jpath)).

Forms

json_path(arg1: string)

Example

g.inject(#{a: #{b: [1, 2]}}).json_path("a.b[1]").next()   // 2

See also