strict JSON-specific formatting. * @return string A JSON representation of the template. */ public static function json($template) { return json_encode(json_decode($template, true)); } /** * Converts an associative array (map) of the template into a JSON string. * * @param array $template (Required) An associative array that maps directly to its JSON counterpart. * @return string A JSON representation of the template. */ public static function map($template) { return json_encode($template); } }