Skip to content

pguillory/libjq-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libjq

Elixir bindings for libjq, library form of the popular command-line JSON processing tool jq.

Example

iex> program = Libjq.compile(".x")
iex> json = ~S[ {"x": 12345} ]
iex> Libjq.run(program, json)
[12345]

Installation

The system needs to have libjq installed. On OS/X, it comes with jq:

brew install jq

On Linux, use the libjq-dev package:

apt install libjq-dev

Finally, add this to your project's mix.exs:

def deps do
  [
    {:libjq, "~> 0.1.0"}
  ]
end

About

Elixir bindings for libjq

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published