assertEquals(expected, result);
}
@Test
public void typedObjectFromDoubleAndDecimal() throws CObjectParseException {
CField field = new CField("test", "decimal");
Double jsonValue = 1234567890.1234567;
BigDecimal expected = BigDecimal.valueOf(jsonValue);
Object result = JsonUtil.typedObjectFromValueAndField(jsonValue, field);
assertEquals(expected, result);