import * as tsSerialize from "https://deno.land/x/ts_serialize@v2.0.3/mod.ts";
Functions
Function to build a | |
allows authors to pass a regex to parse as a date | |
convert | |
serialize data using | |
get new strategy type arguments | |
Test a string for a ISO 8601 Date | |
Uses either the polymorphic resolver or the polymorphic switch resolver to determine the appropriate class, then deserialize the input using Serializable#fromJSON, returning the result | |
@PolymorphicResolver method decorator | |
@PolymorphicSwitch property decorator. | |
Property wrapper that adds | |
revive data from | |
revive data using |
Interfaces
deep copy | |
reutrns a new javascript object with transformations | |
returns the javascript object as a | |
returns the object as a string with transformations | |
called against every property key transforming the key with the provided function |
Type Aliases
Functions used when hydrating data. While we do know that the incoming param is a JSONValue, this forces authors using the library to recast the known type before using it. By using any they can cast it in the function signature | |
Function type to ensure that initializers take no arguments and return a valid serializable | |
A | |
A JSONValue | |
Functions used when dehydrating data |