简体   繁体   中英

XML output from Neo4j cypher query

Is it possible to get xml formatted results from a cypher query in neo4j using the REST API ? With curl , I tried the following -H 'Content-type:text/xml' but it still returns json formatted data.

Is there a way to return xml formatted data instead?

Thanks in advance, Pierre

I believe you could write a server plugin that forms valid XML conformant with some graph representation format and then server will just wrap it into JSON where you will extract it from later, If simple server plugin couldn't do that, you could try more raw form of plugins - unmanaged extensions .

Besides that, I don't know any ways. Well, maybe convert already received JSON to XML, but that'll require further looks into from you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM