assertEquals(expected, result);
}
@Test
public void typedObjectFromLegitStringAndVarint() throws CObjectParseException {
CField field = new CField("test", "varint");
String jsonValue = "1234567890123456789012345";
BigInteger expected = new BigInteger("1234567890123456789012345");
Object result = JsonUtil.typedObjectFromValueAndField(jsonValue, field);
assertEquals(expected, result);