encode abstract method

String encode(
  1. T object
)

Encodes a structured object to a serialized string.

object: The object to serialize (typically Map or List)

Returns: Serialized string in the specific format (JSON/XML etc.)

Implementation

String encode(T object);