title: FormatException: Unexpected end of input (at character 1)
body: <p>I'm trying to parse data from json but something is wrong. 
  Terminal console says: </p>
  
  <pre><code>Performing hot restart...
  Restarted application in 1.659ms.
  I/flutter ( 9594): Load xd en
  I/flutter ( 9594): Exception: FormatException: Unexpected end of input (at character 1)
  I/flutter ( 9594):
  I/flutter ( 9594): ^
  I/flutter ( 9594): /0
  I/flutter ( 9594): error: 0
  </code></pre>
  
  <p>My json can be found here: <a href="http://veterinarskastanicavk.hr/grad/api.php?cat=sports&amp;stranica=1" rel="nofollow noreferrer">link</a></p>
  
  <p>But at this <a href="http://104.131.18.84/notice/news/sports/1" rel="nofollow noreferrer">link</a> it works when I try to parse data from json, and both json's looks same. ( at this one I do not have access to PHP file)</p>
  
  <p>I did json print as usually, like this:</p>
  
  <pre><code>$myJson = ['op'=&gt;true,'msg'=&gt;'','data'=&gt;['pages'=&gt;3538,'page'=&gt;(int)$stranica,'news'=&gt;$api]];
          print_r(json_encode($myJson));
  </code></pre>
  
  <p>Is there any trick/hack about this? Am I missing something? </p>