Saon API Reference

Saon Namespace

Type or Module Description
Parser<'T, 'E>

Parser for elements of type 'E, producing results of type 'T.

ParserBuilder<'E>

Computational Expression builder to build parsers.

ParserResult<'T>

Result after parsing and validating.

Transformer<'T, 'U>

A Transformer transforms data from one type to another. If the transformation fails, return an error with the transformation type and user message.

ValidationError

Information about a validation error.

ValidationFailedMap

Map containing a list of ValidationErrors for each field.

Validator<'T>

A validator does not change the data type, but can return an error.

Convert

Provide useful conversion functions.

Operators

Convenience operators to combine converters and validators.

Parser

Parser functions.

ParserResult

ParserResult functions.

Validate

Provide common validation functions.

ValidationFailedMap

Functions to work with ValidationFailedMap.

Saon.Json Namespace

Type or Module Description
Json
ParserBuilder

Saon.Query Namespace

Type or Module Description
ParserBuilder
Query

Function to work with queries.