public JSONObject Serialize() { var jsonObject = new JSONObject(JSONObject.Type.OBJECT); SerializeLevelInfo(jsonObject, Levels); jsonObject.AddField("Lifes", Lifes.Serialize()); return(jsonObject); }