Fix json objects output

(2 posts) (2 voices)


No tags yet.

  1. maron, Member

    When using export=json&json_force_object=1 the output is prepended by

    This makes the output unparseable by standard jquery functions like .getJSON

    Currently I'm writing php files like this to handle this problem

    echo "{" . file_get_contents("http://mydbr/report_url...&export=json&json_force_object=1") . "}";

    Would it be possible to get the result correctly formatted with the brackets?

    This would ensure standard behaviour and remove the necessity to proxy the exported reports.

    Posted 5 years ago #
  2. myDBR Team, Key Master

    this is fixed in the lastest build.

    myDBR Team

    Posted 5 years ago #


You must log in to post.