Skip to content
On this page

ObjectPaser methods

The following functions are used for parsing:

  • .parse() - parses the object according to the schema. See docs.
  • .parseAsync() - asynchronous object parsing according to the scheme. See docs.
  • .single() - parses an object property by property schema. See docs.

The idea is that each function uses schemas to parse an object or property.

Recommendation

For more detailed information on each function, read the documentation for it.

Released under the MIT License.