question: public void testSerializeDeserializeWithJaxbAnnotations ( ) throws Exception { ObjectMapper mapper = new ObjectMapper ( ) ; mapper . enable ( SerializationConfig . Feature . INDENT_OUTPUT ) ; JacksonExample ex = new JacksonExample ( ) ; QName qname = new QName ( "urn:hi" , "hello" ) ; ex . setQname ( qname ) ; ex . setAttributeProperty ( "attributeValue" ) ; ex . setElementProperty ( "elementValue" ) ; ex . setWrappedElementProperty ( Arrays . asList ( "wrappedElementValue" ) ) ; ex . setEnumProperty ( EnumExample . VALUE1 ) ; StringWriter writer = new StringWriter ( ) ; mapper . writeValue ( writer , ex ) ; writer . flush ( ) ; writer . close ( ) ; String json = writer . toString ( ) ; JacksonExample readEx = mapper . readValue ( json , JacksonExample . class ) ; assertEquals ( ex . qname , readEx . qname ) ; assertEquals ( ex . attributeProperty , readEx . attributeProperty ) ; assertEquals ( ex . elementProperty , readEx . elementProperty ) ; assertEquals ( ex . wrappedElementProperty , readEx . wrappedElementProperty ) ; assertEquals ( ex . enumProperty , readEx . enumProperty ) ; }
target:  tests getting serializer/deserializer instances.