Exonerate.Pointer.to_fun

You're seeing just the function to_fun, go back to Exonerate.Pointer module for more information.
Link to this function

to_fun(path, opts \\ [])

Specs

to_fun(path :: t(), keyword()) :: atom()

creates a function call for a specific JSONPointer.

options:

  • context: prepends a context to the uri
iex> alias Exonerate.Pointer
iex> Pointer.to_fun(["foo", "bar"])
:"/bar/foo"
iex> Pointer.to_fun(["foo~bar", "baz"])
:"/baz/foo~0bar"
iex> Pointer.to_fun(["€", "currency"])
:"/currency/%E2%82%AC"
iex> Pointer.to_fun([], authority: "foo")
:"foo#/"