/ex_jq

Elixir wrapper for JQ

Primary LanguageElixirMIT LicenseMIT

JQ

Elixir wrapper for jq.

Note: you must have jq installed and avalible in your $PATH

Installation

def deps do
  [
    {:jq, "~> 1.0"}
  ]
end

Usage

iex> JQ.query(%{key: "value"}, ".key")
{:ok, "value"}

iex> JQ.query!(%{key: "value"}, ".key")
"value"