Searched refs:AbstractWrapper (Results 1 – 2 of 2) sorted by relevance
25 private static class AbstractWrapper { class in TestScalars30 public AbstractWrapper() { } in AbstractWrapper() method in TestScalars.AbstractWrapper31 public AbstractWrapper(Serializable v) { value = v; } in AbstractWrapper() method in TestScalars.AbstractWrapper95 AbstractWrapper result; in testScalarsViaAbstractType()98 json = m.writeValueAsString(new AbstractWrapper(Integer.valueOf(3))); in testScalarsViaAbstractType()99 result = m.readValue(json, AbstractWrapper.class); in testScalarsViaAbstractType()102 json = m.writeValueAsString(new AbstractWrapper("abc")); in testScalarsViaAbstractType()103 result = m.readValue(json, AbstractWrapper.class); in testScalarsViaAbstractType()106 json = m.writeValueAsString(new AbstractWrapper("abc")); in testScalarsViaAbstractType()107 result = m.readValue(json, AbstractWrapper.class); in testScalarsViaAbstractType()[all …]
83 static class AbstractWrapper { class in TestFieldDeserialization126 AbstractWrapper w = m.readValue("{ \"value\" : \"abc\" }", in testTypeAnnotation()127 AbstractWrapper.class); in testTypeAnnotation()