Skip to main content
Module

x/ts_serialize/serializable.ts

A zero dependency library for serializing data
Latest
import * as tsSerialize from "https://deno.land/x/ts_serialize@v2.0.3/serializable.ts";

Functions

Converts to object using mapped keys

Interfaces

deep copy this, jsonObject is a POJO of the class that overrides the cloned object, jsonObject keys do not need keyTransforms, and values are raw JS Objects

reutrns a new javascript object with transformations

returns the javascript object as a JSONObject with transformations

returns the object as a string with transformations

called against every property key transforming the key with the provided function

Type Aliases

A JSONObject where each string property value is a JSONValue.

A JSONValue

Options for each class