The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

parser.json

Exports a selection of functions for dealing with JSON structures.

jq

Description

Performs a JSONPath query (similar in concept to XPath) against the given JSON document. JSONPath is described at http://goessner.net/articles/JsonPath/.

Usage

<jsonpath query> <document string>

Examples

    :emphasize-lines: 2

    (jq "$.name" "{\"name\": \"Robert\", \"age\": 70 }")
    "Robert"