JSON.stringifyでオブジェクトをいい感じに整形できます. あまり知られていない気がしたので,皆様にお知らせしようと思います. まずこれを読んでください. JSON.stringify(value, replacer, space) value any JavaScript value, usually an object or array. replacer an optional parameter that determines how object values are stringified for objects. It can be a function or an array of strings. space an optional parameter that specifies the indentation of nested structures. If
![JSON.stringifyでオブジェクトをいい感じに整形できるぞ - hitode909の日記](https://cdn-ak-scissors.b.st-hatena.com/image/square/2296ab1500ce365c6f312aebfc28e0426d4976e3/height=288;version=1;width=512/http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F51qo6pgjaSL.jpg)