API Status: Development
<abstract> new (require("nmodule/converters/rc/Converter"))()
Extends:
- baja.Struct
Methods
-
<abstract> convert(from, to, cx)
-
Convert the first object to the second object's type.
Parameters:
Name Type Description frombaja.Object tobaja.Object cxObject Returns:
- Type
- baja.Object | Promise.<baja.Object> | *
-
init(from, to)
-
Gives the converter an opportunity to initialize itself based upon from
and to types.Parameters:
Name Type Description frombaja.Object tobaja.Object