mir.ser

Modules

interfaces
module mir.ser.interfaces

The module can be used for scripting languages to register a universal type serializer in the type system.

ion
module mir.ser.ion
High level Ion serialization API
json
module mir.ser.json
High level JSON serialization API
msgpack
module mir.ser.msgpack
High level Msgpack serialization API
text
module mir.ser.text
High level (text) Ion serialization API
unwrap_ids
module mir.ser.unwrap_ids
yaml
module mir.ser.yaml
High level YAML serialization API

Public Imports

mir.serde
public import mir.serde;
Undocumented in source.

Members

Functions

assumePure
auto assumePure(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
beginList
auto beginList(S serializer, V value)
beginSexp
auto beginSexp(S serializer, V value)
beginStruct
auto beginStruct(S serializer, V value)
serializeValue
void serializeValue(S serializer, typeof(null) )

null value serialization

serializeValue
void serializeValue(S serializer, V value)

Number serialization

serializeValue
void serializeValue(S serializer, V value)

Boolean serialization

serializeValue
void serializeValue(S serializer, V value)

Char serialization

serializeValue
void serializeValue(S serializer, V value)

Enum serialization

serializeValue
void serializeValue(S serializer, const(char)[] value)

String serialization

serializeValue
void serializeValue(S serializer, T[] value)

Array serialization

serializeValue
void serializeValue(S serializer, T[string] value)

String-value associative array serialization

serializeValue
void serializeValue(S serializer, V value)

Enumeration-value associative array serialization

serializeValue
void serializeValue(S serializer, V value)

integral typed value associative array serialization

serializeValue
void serializeValue(S serializer, V value)

Struct and class type serialization

serializeValue
void serializeValue(S serializer, const(BloombergElement)* value)

Static variables

cannotSerializeVoidMsg
auto cannotSerializeVoidMsg;
Undocumented in source.

Templates

hasFields
template hasFields(T)
Undocumented in source.
hasLikeList
template hasLikeList(T)
Undocumented in source.
hasProxy
template hasProxy(T)
Undocumented in source.

Meta