while space 'causes the resulting string to be pretty-printed'. So… just call JSON.stringify(obj, null, ' ') and your JSON will be pretty ...
確定! 回上一頁