jaster.serialise.serialiser

Undocumented in source.

Members

Aliases

UseArrayBaseType
alias UseArrayBaseType = Flag!"useBaseType"
Undocumented in source.
UsedObjectsT
alias UsedObjectsT = ArchiveObject[][ArchiveObject]
Undocumented in source.

Classes

Serialiser
class Serialiser

The default serialiser provided by the engine.

Functions

enforceAllChildrenUsed
void enforceAllChildrenUsed(UsedObjectsT used)

Enforces that all objects used as keys have had all of their children used (based on the values in `used).

Static functions

getFieldName
string getFieldName()

Retrieves the name to use for the given field, for use in serialisation.

getSettings
Serialiser.Settings getSettings()

A painless way to get the Serialiser.Settings for a type/field.

Structs

Attribute
struct Attribute

This UDA should be attached to any field that is used as an attribute.

Ignore
struct Ignore

This UDA marks a field that should be ignored by the serialiser.

InheritSettings
struct InheritSettings

This UDA only functions when placed on a struct field, or an array of structs.

MainValue
struct MainValue

This UDA should be attached to a single field that represents the main value of a struct.

Name
struct Name

This UDA is to give a custom name to a type/field.

Setting
struct Setting

This UDA is used to specify certain settings for a type/field.

Meta