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