Searched refs:MyPojo (Results 1 – 2 of 2) sorted by relevance
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ |
D | TestJDKSerialization.java | 19 static class MyPojo { class in TestJDKSerialization 23 public MyPojo() { } in MyPojo() method in TestJDKSerialization.MyPojo 24 public MyPojo(int x0, int y0) { in MyPojo() method in TestJDKSerialization.MyPojo 129 final MyPojo p = new MyPojo(2, 3); in testObjectWriter() 141 ObjectReader origReader = MAPPER.readerFor(MyPojo.class); in testObjectReader() 143 MyPojo p1 = origReader.readValue(JSON); in testObjectReader() 151 MyPojo p2 = reader2.readValue(JSON); in testObjectReader() 162 final MyPojo p = new MyPojo(2, 3); in testObjectMapper() 170 MyPojo p2 = mapper2.readValue(EXP_JSON, MyPojo.class); in testObjectMapper()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/interop/ |
D | TestExternalizable.java | 112 static class MyPojo implements Externalizable class in TestExternalizable 118 public MyPojo() { } // for deserialization in MyPojo() method in TestExternalizable.MyPojo 119 public MyPojo(int id, String name, int[] values) in MyPojo() method in TestExternalizable.MyPojo 146 MyPojo other = (MyPojo) o; in equals() 187 final MyPojo input = new MyPojo(13, "Foobar", new int[] { 1, 2, 3 } ); in testSerializeAsExternalizable() 212 MyPojo output = (MyPojo) ins.readObject(); in testSerializeAsExternalizable()
|