yagiz / Bagel

a little native network debugging tool for iOS
Apache License 2.0
4.37k stars 320 forks source link

Array is displayed with indexed keys #43

Closed basvankuijck closed 5 years ago

basvankuijck commented 5 years ago

For some reason my GET response showns an array with indexed keys, which ofcourse is invalid json: Screenshot

The actual raw response is valid:

{
  "grid_blocks" : [
    {
      "path" : "\/pro",
      "node_type" : "mgnl:grid_two_highlights",
      "items" : [
        {
          "id" : "efef4a61-dd69-4ecd-8252-10cf2f138a50",
          "meta_description" : "Waarom?",
          "background_gradient" : true,
          "background_color" : "black",
          "pro" : true,
          "square" : false,
          "external" : false,
...
yagiz commented 5 years ago

@basvankuijck This is the default behaviour of the json viewer. If you want to copy this JSON just use the bottom right button or raw button.