
Tag: PostgreSQL
Converting json to xml using PostgreSQL
i need to convert a json data to xml. the sample code is as below. from json2xml import json2xml from json2xml.utils import readfromurl, readfromstring, readfromjson data = readfromstring( ‘{“ra:covered-product-agreement”:{“login”:”mojombo”,”id”:1,”avatar_url”:”https://avatars0.githubusercontent.com/u/1?v=4″}}’ )…