Convert XML to JSON using R

Is there a way to convert between XML and JSON in R Studio?

I looked at the XML and RJSONIO packages in R, but did not find a function to accomplish what I'm looking for.

+6
source share
1 answer

You can convert XML to list using the xmlToList() function from XML , and you can convert list to JSON using the toJSON() function from the RJSONIO package.

+9
source

Source: https://habr.com/ru/post/949592/


All Articles