toJson method
Implementation
String toJson() {
return GameObjectMapper.ensureInitialized()
.encodeJson<GameObject>(this as GameObject);
}
String toJson() {
return GameObjectMapper.ensureInitialized()
.encodeJson<GameObject>(this as GameObject);
}