Searched refs:ratObj (Results 1 – 2 of 2) sorted by relevance
249 JSONObject ratObj = new JSONObject(); in serializeRational() local250 ratObj.put("numerator", rat.getNumerator()); in serializeRational()251 ratObj.put("denominator", rat.getDenominator()); in serializeRational()252 return ratObj; in serializeRational()
74 JSONObject ratObj = new JSONObject(); in serializeRational() local75 ratObj.put("numerator", rat.getNumerator()); in serializeRational()76 ratObj.put("denominator", rat.getDenominator()); in serializeRational()77 return ratObj; in serializeRational()