-
Notifications
You must be signed in to change notification settings - Fork 0
Serializable
Christian Prinz edited this page Oct 17, 2022
·
1 revision
-
Serializable
↳
Entity
• new Serializable()
▸ toJSON(): Record
<any
, any
>
reduces the Serializable to its private ("underscored") attributes. All non-underscored attributes and methods will be omitted.
This method overrides the built-in toJSON()
which is primarily used in JSON.stringify()
Record
<any
, any
>
an object containing all private attributes