Tag: PostgreSQL
npm install fails with ERR_INVALID_ARG_TYPE on win11 host in ubruntu VirtualBox generic/ubuntu2204
Environment: Win 11 Vagrant box: VirtualBox generic/ubuntu2204 “../gloss-translation” is repo root directory on host machine. Vagrantfile: vb.customize [“setextradata”, :id, “VBoxInternal2/SharedFoldersEnableSymlinksCreate/~/gloss-translation”, “1”] config.vm.synced_folder “../gloss-translation”, “/home/vagrant/gloss-translation” sudo apt-get install nodejs -y sudo…
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″}}’ )…