Home
last modified time | relevance | path

Searched refs:ConvertingBean (Results 1 – 3 of 3) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DTestConvertingDeserializer.java13 static class ConvertingBean class in TestConvertingDeserializer
17 protected ConvertingBean(int x, int y) { in ConvertingBean() method in TestConvertingDeserializer.ConvertingBean
35 public List<ConvertingBean> values;
38 public ConvertingBeanContainer(ConvertingBean... beans) { in ConvertingBeanContainer()
43 static class ConvertingBeanConverter extends StdConverter<int[],ConvertingBean>
46 public ConvertingBean convert(int[] values) { in convert()
47 return new ConvertingBean(values[0], values[1]); in convert()
126 ConvertingBean bean = objectReader(ConvertingBean.class).readValue("[1,2]"); in testClassAnnotationSimple()
DTestConvertingSerializer.java17 static class ConvertingBean class in TestConvertingSerializer
21 public ConvertingBean(int v1, int v2) { in ConvertingBean() method in TestConvertingSerializer.ConvertingBean
39 public List<ConvertingBean> values;
41 public ConvertingBeanContainer(ConvertingBean... beans) { in ConvertingBeanContainer()
46 static class ConvertingBeanConverter extends StdConverter<ConvertingBean, int[]>
49 public int[] convert(ConvertingBean value) { in convert()
176 String json = objectWriter().writeValueAsString(new ConvertingBean(1, 2)); in testClassAnnotationSimple()
183 new ConvertingBean(1, 2), new ConvertingBean(3, 4))); in testClassAnnotationForLists()
DTestBeanConversions.java74 static class ConvertingBean { class in TestBeanConversions
76 public ConvertingBean(int v1, int v2) { in ConvertingBean() method in TestBeanConversions.ConvertingBean
90 static class ConvertingBeanConverter extends StdConverter<ConvertingBean, DummyBean>
93 public DummyBean convert(ConvertingBean cb) { in convert()
266 String json = MAPPER.writeValueAsString(new ConvertingBean(1, 2)); in testConversionIssue288()