Interface Serializer

Serializer interface for primitive, array and struct/custom object types

interface Serializer {
    deserialize: (data: any, obj: any, meta?: any) => any;
    isType: (obj: any) => boolean;
    priority?: number;
    serialize: (obj: any, meta?: any) => any;
}

Properties

deserialize: (data: any, obj: any, meta?: any) => any
isType: (obj: any) => boolean
priority?: number
serialize: (obj: any, meta?: any) => any