MuShare / Httper-iOS

App for developers to test REST API.

Home Page:https://httper.mushare.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The prettify output of the array is weird

dragon-fish opened this issue · comments

Send:

GET https://api.wjghj.cn/inpageedit/

Original response:

{"status":true,"msg":["Hello world"],"about":["InPageEdit Analysis V4","Powered by: MongoDB & Express","Author: 机智的小鱼君"],"api":{"query":{"url":"https://api.wjghj.cn/inpageedit/query","method":"get"},"submit":{"url":"https://api.wjghj.cn/inpageedit/submit","method":"post"},"update":{"url":"https://api.wjghj.cn/inpageedit/update","method":"put"}}}

Shows in prettify tab:

{
  "about": [
    {
    }, {
    }, {
    }
  ],
  "api": {
    "query": {
      "method": "get",
      "url": "https://api.wjghj.cn/inpageedit/query"
    }, 
    "submit": {
      "method": "post",
      "url": "https://api.wjghj.cn/inpageedit/submit"
    }, 
    "update": {
      "method": "put",
      "url": "https://api.wjghj.cn/inpageedit/update"
    }, 
  }, 
  "msg": [
    {
    }
  ],
  "status": true
}

Notice about and msg in response. The array does not appear to be rendered correctly.

Thanks for your feedback, I will fix it in MGFormatter: https://github.com/lm2343635/MGFormatter