foundation-utils.jsonserializer.serialize
Home > @genesislcap/foundation-utils > JSONSerializer > serialize
JSONSerializer.serialize() method
Serializes an object to a JSON string.
Signature:
serialize(object: any): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
object |
any |
The object to serialize. |
Returns:
string
The serialized JSON string.