chao/RESTClient

Preview tab: collapsing/folding of array of objects does not work as expected

Opened this issue · 0 comments

If the API returns a JSON object that has an array of objects, the start of the array and the first object are on the same line So when you try and collapse the entire array, only the first object collapses. This in turn moves the next object onto the same line as the start of the array and the collapsed object, so you then can't collapse the next object. The start of the array and the start of the first object should be on different lines as should subsequent objects

Unfolded:
image

First object and another object folded with inability to collapse array and subsequent objects:
image