Problem with getJson on safari (iphone)

Problem with getJson on safari (iphone)

I try to execute this code exemple using external webService

  1.  
  2. $.getJSON('http://domain.fr/testJson/test.json', function(data) {
  3.   var items = [];
  4.  
  5.   $.each(data, function(key, val) {
  6.     items.push('<li id="' + key + '">' + val + '</li>');
  7.   });
  8.  
  9.   $('<ul/>', {
  10.     'class': 'my-new-list',
  11.     html: items.join('')
  12.   }).appendTo('#home');
  13. });
the test.json is on a server : 

  1. {
      "one": "Singular sensation",
      "two": "Beady little eyes",
      "three": "Little birds pitch by my doorstep"
    }

It works in chrome but not in safari on iphone, and it doesn't work with phoneGap too. 

Nevertheless, it works good when the json file is in local.

How can I fix this bug

Thanks