Exports a selection of functions for dealing with JSON structures.
Performs a JSONPath query (similar in concept to XPath) against the given JSON document. JSONPath is described at http://goessner.net/articles/JsonPath/.
<jsonpath query> <document string>
:emphasize-lines: 2 (jq "$.name" "{\"name\": \"Robert\", \"age\": 70 }") "Robert"
To install App::RoboBot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::RoboBot
CPAN shell
perl -MCPAN -e shell install App::RoboBot
For more information on module installation, please visit the detailed CPAN module installation guide.