exchema v0.1.0 Exchema.Parser

Parses a input to a given schema or module that defines an schema

Link to this section Summary

Link to this section Types

Link to this type field_error()
field_error() :: {field_path(), Exchema.Transformer.error()}
Link to this type field_path()
field_path() :: [any()]
Link to this type result()
result() :: map() | {:errors, [field_error()]}

Link to this section Functions

Link to this function parse(input, schema, opts)
parse(map(), Exchema.Schema.t(), [{:atom, any()}]) :: result()