Package-level declarations
Types
A discriminated union representing any value that can be represented in CBOR (Concise Binary Object Representation) format, as used by Ditto's data store and attachment APIs.
A discriminated union representing any value that can be expressed in JSON format, as used by Ditto's presence and peer metadata APIs.
Functions
Converts any array to a CBOR representation. Values must be one of the following types: String, Byte, Short, Int, Long, UInt, ULong, Float, Double, Boolean, Char, Enum, UByte, ByteArray, UByteArray, null, or a List, Array, Set, or Map of such types.
Converts any list to a CBOR representation. Values must be one of the following types: String, Byte, Short, Int, Long, UInt, ULong, Float, Double, Boolean, Char, Enum, UByte, ByteArray, UByteArray, null, or a List, Array, Set, or Map of such types.
Converts a map with String keys to a CBOR representation. Values must be one of the following types: String, Byte, Short, Int, Long, UInt, ULong, Float, Double, Boolean, Char, Enum, UByte, ByteArray, UByteArray, null, or a List, Array, Set, or Map of such types.
Converts any set to a CBOR representation. Values must be one of the following types: String, Byte, Short, Int, Long, UInt, ULong, Float, Double, Boolean, Char, Enum, UByte, ByteArray, UByteArray, null, or a List, Array, Set, or Map of such types.
Converts any array to a JSON representation. Values must be one of the following types: Boolean, Int, Long, Float, Double, Short, Byte, Char, String, Enum, UByte, UInt, null, or a List, Array, Set, or Map of such types.
Converts any list to a JSON representation. Values must be one of the following types: Boolean, Int, Long, Float, Double, Short, Byte, Char, String, Enum, UByte, UInt, null, or a List, Array, Set, or Map of such types.
Converts any map to a JSON representation. Keys must be Strings and values must be one of the following types: Boolean, Int, Long, Float, Double, Short, Byte, Char, String, Enum, UByte, UInt, null, or a List, Array, Set, or Map of such types.
Converts any set to a JSON representation. Values must be one of the following types: Boolean, Int, Long, Float, Double, Short, Byte, Char, String, Enum, UByte, UInt, null, or a List, Array, Set, or Map of such types.