xml2json

码农软件 · 软件分类 · JSON/BSON开发包 · 2019-03-31 19:42:33

软件介绍

xml2json 是一个header-only的C++库,用来将 XML 文档转成 JSON 格式。

它是高性能的--在商业硬件上3ms可以转换一个150KB的字幕文件。它采用以下简单但是精细考虑的转换规则:

XML JSON Access
<e/> "e": null o.e
<e>text</e> "e": "text" o.e
<e name="value" /> "e":{"@name": "value"} o.e["@name"]
<e name="value">text</e> "e": { "@name": "value", "#text": "text" } o.e["@name"] o.e["#text"]
<e> <a>text</a> <b>text</b> </e> "e": { "a": "text", "b": "text" } o.e.a o.e.b
<e> <a>text</a> <a>text</a> </e> "e": { "a": ["text", "text"] } o.e.a[0] o.e.a[1]
<e> text <a>text</a> </e> "e": { "#text": "text", "a": "text" } o.e["#text"] o.e.a

本文地址:https://codercto.com/soft/d/2578.html

生物序列分析

生物序列分析

Richard Durbin、Sean Eddy、Anders Krogh [等] / 王俊、郭一然、单杲 / 科学出版社 / 2010-8 / 60.00元

生物序列分析,ISBN:9787030284433,作者:(英)Durbin,R 等编著一起来看看 《生物序列分析》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具