Elixpath.Parser.parse

You're seeing just the function parse, go back to Elixpath.Parser module for more information.
Link to this function

parse(str_or_path, opts \\ [])

Specs

parse(String.t() | Elixpath.t(), [option()]) ::
  {:ok, Elixpath.t()} | {:error, reason :: term()}

Parses an Elixpath expression. See this page for syntax.

Warning: when unsafe_atom: true is specified, this function creates new atom using String.to_atom/1. Do not specify unsafe_atom: true for untrusted input. See String.to_atom/1 for details.

Options

  • :unsafe_atom - if true, allows to create non-existing atoms, defaults to false.
  • :prefer_keys - unquoted keys are converted to string (:string) or atom (:atom). Defaults to :string.