【发布时间】:2017-03-12 07:29:44
【问题描述】:
我想产生如下输出,但我不知道该怎么做,有什么帮助吗?
{
"messages":[
{
"from":"InfoSMS",
"to":[
"41793026727",
"41793026731"
],
"text":"May the Force be with you!"
},
{
"from":"41793026700",
"to":"41793026785",
"text":"A long time ago, in a galaxy far, far away... It is a period of civil war. Rebel spaceships, striking from a hidden base, have won their first victory against the evil Galactic Empire."
}
]
}
【问题讨论】:
-
你尝试了什么?
-
您的问题到底是什么?你想用 PHP 还是 jQuery 创建这个结构?您如何存储原始数据?
-
是的,我想要可以产生上述输出的 php 和 jquery 代码。
-
Stackoverflow 不是“如何” 教程服务
标签: javascript php jquery json