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()
73 JSONObject ratObj = new JSONObject(); in serializeRational() local74 ratObj.put("numerator", rat.getNumerator()); in serializeRational()75 ratObj.put("denominator", rat.getDenominator()); in serializeRational()76 return ratObj; in serializeRational()