Packages

jsonpath in elixir through nodejs

Current section

Files

Jump to
pathfinder lib pathfinder.ex
Raw

lib/pathfinder.ex

defmodule Pathfinder do
def query(json, path) when is_binary(json) do
NodeJS.call({"jsonpath", "query"}, [json, path])
end
end