Home
last modified time | relevance | path

Searched refs:withView (Results 1 – 15 of 15) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/builder/
DBuilderWithViewTest.java87 .withView(ViewX.class) in testSimpleViews()
93 .withView(ViewY.class) in testSimpleViews()
103 .withView(ViewX.class) in testCreatorViews()
109 .withView(ViewY.class) in testCreatorViews()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/views/
DTestViewDeserialization.java91 .withView(ViewB.class) in testSimple()
124 .withView(ViewA.class) in testWithCreatorAndViews()
130 .withView(ViewB.class) in testWithCreatorAndViews()
137 .withView(ViewB.class) in testWithCreatorAndViews()
DDefaultViewTest.java47 .withView(ViewA.class) in testDeserialization()
53 .withView(ViewBB.class) in testDeserialization()
DTestViewSerialization.java155 json = mapper.writer().withView(null).writeValueAsString(bean); in testDefaultExclusion()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/struct/
DTestPOJOAsArrayAdvanced.java99 AsArrayWithView result = MAPPER.readerFor(AsArrayWithView.class).withView(ViewB.class) in testWithView()
110 .withView(ViewB.class) in testWithViewAndCreator()
DTestPOJOAsArrayWithBuilder.java168 value = reader.withView(String.class).readValue("[1,2,3]"); in testWithCreatorAndView()
174 value = reader.withView(Character.class).readValue("[1,2,3]"); in testWithCreatorAndView()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/mixins/
DMapperMixinsCopy1998Test.java108 .setConfig(myObjectMapper.getSerializationConfig().withView(MyModelView.class)); in testB_KO()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DObjectWriterTest.java164 ObjectWriter newW = w.withView(String.class); in testViewSettings()
166 assertSame(newW, newW.withView(String.class)); in testViewSettings()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DTestUpdateViaObjectReader.java212 .withView(TextView.class) in testUpdatingWithViews()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DObjectWriter.java580 public ObjectWriter withView(Class<?> view) { in withView() method in ObjectWriter
581 return _new(this, _config.withView(view)); in withView()
DSerializationConfig.java322 public SerializationConfig withView(Class<?> view) { in withView() method in SerializationConfig
DObjectReader.java829 public ObjectReader withView(Class<?> activeView) { in withView() method in ObjectReader
830 return _with(_config.withView(activeView)); in withView()
DDeserializationConfig.java338 public DeserializationConfig withView(Class<?> view) { in withView() method in DeserializationConfig
DObjectMapper.java3773 return _newWriter(getSerializationConfig().withView(serializationView));
4100 return _newReader(getDeserializationConfig().withView(view));
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DMapperConfigBase.java552 public abstract T withView(Class<?> view); in withView() method in MapperConfigBase