siryul.siryul

Members

Aliases

siryulizers
alias siryulizers = AliasSeq!(JSON, YAML)
Undocumented in source.
toFormattedString
alias toFormattedString = toString

For cases where toString is already defined

Enums

AutoDetect
enum AutoDetect

Autodetect the serialization format where possible.

ISO8601
enum ISO8601

Use standard ISO8601 format for dates and times - YYYYMMDDTHHMMSS.FFFFFFFTZ

ISO8601Extended
enum ISO8601Extended

Use extended ISO8601 format for dates and times - YYYY-MM-DDTHH:MM:SS.FFFFFFFTZ Generally more readable than standard format.

TestEnum
enum TestEnum
Undocumented in source.

Functions

fromFile
T fromFile(string path)

Deserializes data from a file.

fromString
T fromString(U str)

Deserializes data from a string.

Properties

toFile
T toFile [@property setter]

Serializes data to a file.

toString
auto toString [@property getter]

Serializes data to a string.

Structs

Test2
struct Test2
Undocumented in source.
TestNull
struct TestNull
Undocumented in source.

Templates

isSiryulizer
template isSiryulizer(T)

Determines whether or not the given type is a valid (de)serializer

isTimeType
template isTimeType(T)
Undocumented in source.

Meta