Poq.SDK.Node

Home > @poq/transform > MapConverter

MapConverter class

Defines logic of handling Map/Dictionary type during conversion process.

Signature:

export declare class MapConverter extends AbstractConverter<PlainObj, Map<string, unknown>> 

Extends: AbstractConverter<PlainObj, Map

Methods

Method Modifiers Description
toPlain(transformer, item, options)   Method transforms instance of class/type into plain representation.
toType(transformer, item, options)   Method transforms plain representation into instance of class/type.