質問編集履歴
1
コードとデータの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,3 +15,57 @@
|
|
15
15
|
|
16
16
|
|
17
17
|
前「0」の項目は文字列の項目と判断した上、数値のみの項目は 数値項目と判断するような 指定はできないでしょうか?
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
### 16:40追記
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
```JSON
|
28
|
+
|
29
|
+
[
|
30
|
+
|
31
|
+
{
|
32
|
+
|
33
|
+
"受注NO": "0001791904",
|
34
|
+
|
35
|
+
"エントリNO": "0001610538",
|
36
|
+
|
37
|
+
"運賃": "0",
|
38
|
+
|
39
|
+
"税抜合計金額": "0"
|
40
|
+
|
41
|
+
},
|
42
|
+
|
43
|
+
{
|
44
|
+
|
45
|
+
"受注NO": "0001791916",
|
46
|
+
|
47
|
+
"エントリNO": "0001610550",
|
48
|
+
|
49
|
+
"運賃": "0",
|
50
|
+
|
51
|
+
"税抜合計金額": "0"
|
52
|
+
|
53
|
+
}
|
54
|
+
|
55
|
+
]
|
56
|
+
|
57
|
+
```
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
```PHP
|
62
|
+
|
63
|
+
header('Content-Type: application/json; charset=UTF-8');
|
64
|
+
|
65
|
+
header("X-Content-Type-Options: nosniff");
|
66
|
+
|
67
|
+
echo json_encode($json, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_BIGINT_AS_STRING);
|
68
|
+
|
69
|
+
exit();
|
70
|
+
|
71
|
+
```
|