toJson abstract method

T toJson()

Converts the object to a JSON representation.

Returns the JSON representation of the object.

Implementation

T toJson();