JsonConvertor

Undocumented in source.

Constructors

this
this(TypeGuesser!JSONValue guesser)
Undocumented in source.

Members

Aliases

ToTypes
alias ToTypes = AliasSeq!(double, bool, ulong, long, string, JSONValue[], JSONValue[string], JSONValue)
Undocumented in source.

Functions

convert
Object convert(Object from, TypeInfo to, RCIAllocator allocator)

Convert from component to component.

converts
bool converts(Object from, Object to)
bool converts(Object from, TypeInfo to)

ditto

destruct
void destruct(TypeInfo from, Object converted, RCIAllocator allocator)

Destroy component created using this convertor.

Mixins

DefaultMixin
mixin ConvertsFromToMixin DefaultMixin
Undocumented in source.
__anonymous
mixin FromMixin!JSONValue
Undocumented in source.
__anonymous
mixin ToMixin!ToTypes
Undocumented in source.
__anonymous
mixin EqualToHashToStringOpCmpMixin
Undocumented in source.

Mixed In Members

From mixin ConvertsFromToMixin DefaultMixin

__anonymous
mixin ConvertsFromMixin
Undocumented in source.
__anonymous
mixin ConvertsToMixin
Undocumented in source.
__anonymous
mixin ConvertsMixin
Undocumented in source.
__anonymous
mixin DestroysMixin
Undocumented in source.

From mixin EqualToHashToStringOpCmpMixin

__anonymous
mixin EqualMixin!()
Undocumented in source.
__anonymous
mixin ToHashMixin!()
Undocumented in source.
__anonymous
mixin ToStringMixin!()
Undocumented in source.
__anonymous
mixin OpCmpMixin!()
Undocumented in source.

Inherited Members

From Convertor

from
const(TypeInfo)[] from [@property getter]

Get the type info of component that convertor can convert from.

to
const(TypeInfo)[] to [@property getter]

Get the type info of component that convertor is able to convert to.

convertsFrom
bool convertsFrom(TypeInfo from)

Check whether convertor is able to convert from.

convertsFrom
bool convertsFrom(Object from)

Check whether convertor is able to convert from.

convertsTo
bool convertsTo(TypeInfo to)

Check whether convertor is able to convert to.

convertsTo
bool convertsTo(Object to)

Check whether convertor is able to convert to.

converts
bool converts(TypeInfo from, TypeInfo to)
bool converts(TypeInfo from, Object to)
bool converts(Object from, TypeInfo to)
bool converts(Object from, Object to)

Check whether convertor is able to convert from type to type.

destroys
bool destroys(TypeInfo from, TypeInfo to)
bool destroys(Object from, TypeInfo to)
bool destroys(TypeInfo from, Object to)
bool destroys(Object from, Object to)

Check whether this convertor is able to destroy to component.

convert
Object convert(Object from, TypeInfo to, RCIAllocator allocator)

Convert from component to component.

destruct
void destruct(TypeInfo from, Object converted, RCIAllocator allocator)

Destroy component created using this convertor.

Meta