made recommended changes
This commit is contained in:
parent
3e3079e4c9
commit
61e7164703
|
@ -22,6 +22,13 @@
|
|||
<artifactId>commons-io</artifactId>
|
||||
<version>2.4</version>
|
||||
</dependency>
|
||||
<!--jackson for xml-->
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
||||
<artifactId>jackson-dataformat-xml</artifactId>
|
||||
<version>2.7.4</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
|
|
|
@ -15,7 +15,7 @@ import org.junit.Test;
|
|||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.dataformat.xml.XmlMapper;
|
||||
|
||||
public class TestClass {
|
||||
public class TestXMLSerializeDeserialize {
|
||||
|
||||
@Test
|
||||
public void whenJavaSerializedToXmlStr_thenCorrect() throws JsonProcessingException{
|
|
@ -0,0 +1,4 @@
|
|||
<SimpleBean>
|
||||
<x>1</x>
|
||||
<y>2</y>
|
||||
</SimpleBean>
|
Loading…
Reference in New Issue