BaseX GUI和MongoDB

时间:2013-05-18 14:04:28

标签: json mongodb user-interface basex

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

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

1 个答案:

答案 0 :(得分: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>