我有一个具有以下内容的大型JSON: {"createTx": { "inputs": [{ "address": "mtFYoSowT3i649wnBDYjCjewenh8AuofQb", "value": 0.00009}],"outputs": [{ "address": "mmskWH7hG9CJNzb16JaVFJyWdgAwcVEAkz", "value": 0.00018}],"fee": { "address": "mmskWH7hG9CJNzb16JaVFJyWdgAwcVEAkz", "value": 0.00023141}}, "wifs" : [ "cUGddnJmuzfzpWXNwt1SRnQ8GMqZdQ1vg8BtwjG8f275pvExPzaX", "cSEjySAREyai8eQhgoqixzmxCeSP8QtbwHxptL8ijofg68ZMjoud", "cV2u6dqfiQthWfPixJ7ucFW5Tza1ubLr6ipM35vSTy9xGEKbCbaJ"]}为了在CURL POST中运行它,我需要将它放在$ variable中,并使用以下格式: $data = array("createTX" => "","inputs" => array ("1MfyBywPTSj9aAPr8cccCTcch71fd4vkDA" ) );我需要$ data变量中的整个JSON。
1 回答
- 1 回答
- 0 关注
- 173 浏览
添加回答
举报
0/150
提交
取消