Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mtdowling/jmespath.clj
JMESPath for Clojure
https://github.com/mtdowling/jmespath.clj
Last synced: 16 days ago
JSON representation
JMESPath for Clojure
- Host: GitHub
- URL: https://github.com/mtdowling/jmespath.clj
- Owner: mtdowling
- License: mit
- Created: 2014-07-14T19:47:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-19T18:21:05.000Z (almost 10 years ago)
- Last Synced: 2025-01-01T19:46:31.852Z (19 days ago)
- Language: Clojure
- Size: 413 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
============
jmespath.clj
============JMESPath (pronounced "jaymz path") allows you to declaratively specify how to
extract elements from a JSON document. *jmespath.clj* allows you to use
JMESPath in Clojure applications with PHP Clojure data structures.Installation
------------Add the following to your project's ``project.clj`` file.
.. code-block:: clojure
[jmespath "0.1.0"]
Usage
-----.. code-block:: clojure
(ns hello-world
(:require jmespath.core :as jmespath))(jmespath.search "foo.bar" {"foo" {"bar" "baz"}})
The official `JMESPath documentation `_
includes a formal grammar, specification, as well as links to other JMESPath
implementations.