Skip to main content

foundation-comms.serializer.serialize

Home > @genesislcap/foundation-comms > Serializer > serialize

Serializer.serialize() method

Warning: This API is now obsolete.

  • Use serialize from JSONSerializer from @genesislcap/foundation-utils instead.

Serialize the given object into a string.

Signature:

serialize(object: any): string;

Parameters

Parameter

Type

Description

object

any

The object to serialize.

Returns:

string

The serialized string.