public Result fromJSON(JSONObject json, int version) {
		try {
			if(version > Privileges.JSON_VERSION)
				return IJson.Result.OUTDATED_APP;
			
			Result tResult = super.fromJSON(json, version);
			if(tResult.hasFailed())
				return tResult;
			
			if(version >= 1) {
				groupName = json.optString("group");
			}
			
			if(version < Privileges.JSON_VERSION)
				return IJson.Result.OUTDATED_FORMAT;
			
			return IJson.Result.SUCCESS;
		}
		catch(Exception e) {
			e.printStackTrace();
			return IJson.Result.FAILURE;
		}
	}