質問編集履歴
2
構文の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
CREATE TABLE
|
19
|
+
CREATE TABLE `json_test` (`col`, JSON);
|
20
20
|
|
21
21
|
|
22
22
|
|
1
ソースコード追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,6 +42,18 @@
|
|
42
42
|
|
43
43
|
|
44
44
|
|
45
|
+
```mysql
|
46
|
+
|
47
|
+
INSERT INTO `json_test` VALUE
|
48
|
+
|
49
|
+
('{"nodes":[{"id":0,"title":"new concept0","x":537.5,"y":200},
|
50
|
+
|
51
|
+
{"id":1,"title":"new concept1","x":537.5,"y":400}]}');
|
52
|
+
|
53
|
+
```
|
54
|
+
|
55
|
+
|
56
|
+
|
45
57
|
$json_dataには格納したいJSON形式のデータが格納されており,実際の出力結果も問題ありません.
|
46
58
|
|
47
59
|
|