kdl library
Exports the public interface of KDL
Classes
- Duration
- Represents a ISO8601 duration
- KdlBase64
- A Base64-encoded string, denoting arbitrary binary data.
- KdlBigDecimal
-
KDL Value wrapping a
BigDecimal - KdlBool
-
KDL Value wrapping a
bool - KdlCountry
- Base-class for ISO 3166-1 country codes
- KdlCountry2
- ISO 3166-1 alpha-2 country code.
- KdlCountry3
- ISO 3166-1 alpha-3 country code.
- KdlCountrySubdivision
- ISO 3166-2 country subdivision code.
- KdlCurrency
- ISO 4217 currency code.
- KdlDate
- "Date" section of ISO8601.
- KdlDateTime
- ISO8601 date/time format.
- KdlDecimal
- IEEE 754-2008 decimal string format.
- KdlDocument
- KDL Root node
- KdlDouble
-
KDL Value wrapping a
double - KdlDuration
- ISO8601 duration format.
- KdlEmail
- RFC5322 email address.
- KdlHostname
- RFC1132 internet hostname (only ASCII segments)
- KdlIdnEmail
- RFC6531 internationalized email address.
- KdlIdnHostname
-
RFC5890 internationalized internet hostname
(only
xn---prefixed ASCII "punycode" segments, or non-ASCII segments) -
KdlInt<
I> - KDL Value wrapping integer types
- KdlIP
- Base class for IPv4 and IPv6 addresses
- KdlIPV4
- RFC2673 dotted-quad IPv4 address.
- KdlIPV6
- RFC2373 IPv6 address.
- KdlIRL
- RFC3987 Internationalized Resource Identifier.
- KdlIrlReference
- RFC3987 Internationalized Resource Identifier Reference.
- KdlNode
- A KDL node. Nodes can have positional arguments, key=value properties, and other nodes as children.
- KdlNull
-
KDL Value representing
null - KdlRegex
- Regular expression.
- KdlString
-
KDL Value wrapping a
String - KdlTime
- "Time" section of ISO8601.
- KdlUrl
- RFC3986 URI.
- KdlUrlReference
- RFC3986 URI Reference.
- KdlUrlTemplate
- RFC6570 URI Template.
- KdlUuid
- RFC4122 UUID.
-
KdlValue<
T> - Base class for all KDL Value types
Typedefs
-
KdlTypeParser<
T> = T? Function(T, String type) -
Function signature for converting
KdlValueandKdlNodeinto custom types. Returnnullto skip parsing and keep the original value.
Exceptions / Errors
- KdlException
- Generic KDL Exception
- KdlParseException
- Exception thrown when attempting to parse an invalid KDL document
- KdlVersionMismatchException
- Exception thrown when attempting to parse a versioned KDL document with the incorrect parser version