Exonerate.Pointer.from_uri

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

Specs

from_uri(String.t()) :: t()

converts a uri to a JSONPointer

iex> alias Exonerate.Pointer
iex> Pointer.from_uri("/") # the root-only case
[]
iex> Pointer.from_uri("/bar/foo")
["foo", "bar"]
iex> Pointer.from_uri("/baz/foo~0bar")
["foo~bar", "baz"]
iex> Pointer.from_uri("/currency/%E2%82%AC")
["€", "currency"]