* Convert json to xml.
*/
private function json_to_xml($json, $root_node_name) {
- // Apparenty the ObjectNormalizer used afterwards is not able to handle
+ // Apparently the ObjectNormalizer used afterwards is not able to handle
// the stdClass object created by json_decode() with the default setting
// $assoc = false; so use $assoc = true.
$data = json_decode($json, $assoc = TRUE);