toJson abstract method

Json toJson()

Convert Profile data to JSON format.

The JSON format must be follow this schema:

{
  "name": "(Profile name)",
  "animal": 0
}

Implementation

Json toJson();