toJson method

String toJson()

Implementation

String toJson() {
  return serializers.toJson(CharacterRole.serializer, this);
}