Convert XML to JSON format

后端 未结 10 882
粉色の甜心
粉色の甜心 2020-12-13 07:43

I have to convert docx file format (which is in openXML format) into JSON format. I need some guidelines to do it. Thanks in advance.

10条回答
  •  盖世英雄少女心
    2020-12-13 07:59

    Docx4j

    I've used docx4j before, and it's worth taking a look at.

    unXml

    You could also check out my open source unXml-library that is available on Maven Central.

    It is lightweight, and has a simple syntax to pick out XPaths from your xml, and get them returned as Json attributes in a Jackson ObjectNode.

提交回复
热议问题