Skip to content

SymbolMapper

@tsed/json-mapper

Usage ​

typescript
import { SymbolMapper } from "@tsed/json-mapper";

See /packages/specs/json-mapper/src/components/SymbolMapper.ts.

Overview ​

ts
class SymbolMapper implements JsonMapperMethods {
    deserialize(data: string): symbol;
    serialize(object: Symbol): any;
}

Description ​

Mapper for the Symbol type.

deserialize ​

ts
deserialize(data: string): symbol;

serialize ​

ts
serialize(object: Symbol): any;

Released under the MIT License.