jsonToXml static method
Implementation
static String jsonToXml(String json, {String rootName = "root", bool pretty = true}) {
final StringBuffer sb = StringBuffer();
_emitXml(sb, rootName, jsonDecode(json), pretty ? 0 : -1);
return sb.toString().trimRight();
}