回答編集履歴

1

修正

2019/11/16 03:34

投稿

m.ts10806
m.ts10806

スコア80850

test CHANGED
@@ -13,3 +13,35 @@
13
13
 
14
14
 
15
15
  [オブジェクト初期化子](https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Operators/Object_initializer)
16
+
17
+
18
+
19
+
20
+
21
+ ```js
22
+
23
+
24
+
25
+ var json_str = `{
26
+
27
+ "a": "test",
28
+
29
+ "b": "hogehoge",
30
+
31
+ "c": [
32
+
33
+ 123,
34
+
35
+ 456
36
+
37
+ ]
38
+
39
+ }
40
+
41
+ `;
42
+
43
+
44
+
45
+ console.log(JSON.parse(json_str));
46
+
47
+ ```