toJson abstract method

T toJson()

Serializes this as a JSON object.

Implementation

T toJson();