Type Alias XmlRules<T>

XmlRules<T>: {
    readonly [P in Exclude<keyof T, ReservedXmlRuleKeys>]-?: XmlRule<T[P]> | LazyXmlRule<T[P]>
}

A schema for XML serialization and deserialization.

The parser values may be lazy, represented as a function that returns a property parser.

Type Parameters

  • T extends object

    The object type these parsing rules model.