XStream or Simple

前端 未结 9 1312
栀梦
栀梦 2021-02-06 08:05

I need to decide on which one to use. My case is pretty simple. I need to convert a simple POJO/Bean to XML, and then back. Nothing special.

One thing I am looking for

9条回答
  •  南方客
    南方客 (楼主)
    2021-02-06 08:45

    So far I have never use Simple framework yet.

    Based on my experience with Xstream. It worked well on XML. However, for JSON, the result is not as precise as expected when I attempt to serialize a bean that contain a List of Hashtable.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题