Searched refs:jsonMapper (Results 1 – 2 of 2) sorted by relevance
12 private JsonMapper jsonMapper; field in RecordTest15 jsonMapper = new JsonMapper(); in setUp()24 String json = jsonMapper.writeValueAsString(record); in testSerializeSimpleRecord()30 … SimpleRecord value = jsonMapper.readValue("{\"id\":123,\"name\":\"Bob\"}", SimpleRecord.class); in testDeserializeSimpleRecord()61 String json = jsonMapper.writeValueAsString(record); in testSerializeRecordOfRecord()72 String json = jsonMapper.writeValueAsString(record); in testSerializeJsonIgnoreRecord()84 …RecordWithConstructor value = jsonMapper.readValue("{\"id\":123,\"name\":\"Bob\"}", RecordWithCons… in testDeserializeRecordWithConstructor()95 String json = jsonMapper.writeValueAsString(record); in testSerializeJsonRenameRecord()101 …JsonPropertyRenameRecord value = jsonMapper.readValue("{\"id\":123,\"rename\":\"Bob\"}", JsonPrope… in testDeserializeJsonRenameRecord()
274 ObjectMapper jsonMapper = newJsonMapper(); in testIssue987() local275 jsonMapper.addHandler(new DeserializationProblemHandler() { in testIssue987()284 List<Bean987> deserializedList = jsonMapper.readValue(input, in testIssue987()