inochi2d.fmt.serialize

Undocumented in source.

Public Imports

fghj
public import fghj;
Undocumented in source.
inochi2d.math.serialization
public import inochi2d.math.serialization;
Undocumented in source.

Members

Aliases

Ignore
alias Ignore = serdeIgnore

Tells serializer to ignore

InochiSerializer
alias InochiSerializer = JsonSerializer!("\t", void delegate(const(char)[]) pure nothrow @(safe))
Undocumented in source.
InochiSerializerCompact
alias InochiSerializerCompact = JsonSerializer!("", void delegate(const(char)[]) pure nothrow @(safe))
Undocumented in source.
Name
alias Name = serdeKeys

Sets the name of a key.

Optional
alias Optional = serdeOptional

Tells serializer that a key is optional

Functions

getString
string getString(Fghj data)
Undocumented in source. Be warned that the author may not have intended to support it.
inCreateCompactSerializer
InochiSerializerCompact inCreateCompactSerializer(Appender!(char[]) app)

Creates a pretty-serializer

inCreatePrettySerializer
InochiSerializer inCreatePrettySerializer(Appender!(char[]) app)

Creates a pretty-serializer

inLoadJsonData
T inLoadJsonData(string file)

Loads JSON data from memory

inLoadJsonDataFromMemory
T inLoadJsonDataFromMemory(string data)

Loads JSON data from memory

inToJson
string inToJson(T item)

Serialize item with compact Inochi2D JSON serializer

inToJsonPretty
string inToJsonPretty(T item)

Serialize item with pretty Inochi2D JSON serializer

Interfaces

IDeserializable
interface IDeserializable(T)

Interface for classes that can be deserialized to JSON with custom code

ISerializable
interface ISerializable

Interface for classes that can be serialized to JSON with custom code

Meta