2

BaseX专注于存储、查询和可视化大型 XML 和JSON文档和集合。

有没有办法查询MongoDB文档并使用BaseX可视化能力?

4

1 回答 1

0

让我试着帮忙,资料来自:http ://docs.basex.org/wiki/JSON

示例:使用简单对象和数组转换 JSON 字符串查询:

json:parse('{
 "title": "Talk On Travel Pool",
 "link": "http://www.flickr.com/groups/talkontravel/pool/",
 "description": "Travel and vacation photos from around the world.",
 "modified": "2014-02-02T11:10:27Z",
 "generator": "http://www.flickr.com/"
 }')

结果:

 <json type="object">
   <title>Talk On Travel Pool</title>
   <link>http://www.flickr.com/groups/talkontravel/pool/</link>
   <description>Travel and vacation photos from around the world.    </description>
   <modified>2014-02-02T11:10:27Z</modified>
   <generator>http://www.flickr.com/</generator>

于 2016-06-15T16:40:48.273 回答