Skip to main content
Module

x/ts_serialize/mod.ts>Clone

A zero dependency library for serializing data
Latest
interface Clone
import { type Clone } from "https://deno.land/x/ts_serialize@v2.0.3/mod.ts";

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

Methods

clone(jsonObject: Partial<this>): this