YamlConvertor.convert

Convert from component to component.

class YamlConvertor
const
Object
convert
(
in Object from
,
const TypeInfo to
,
RCIAllocator allocator = theAllocator
)

Parameters

from Object

original component that is to be converted.

to TypeInfo

destination object that will be constructed out for original one.

allocator RCIAllocator

optional allocator that could be used to construct to component.

Return Value

Type: Object

Resulting converted component.

Throws

ConvertorException when there is a converting error InvalidArgumentException when arguments passed are not of right type or state

Meta