标签: json
我得到像这样的json数组
[0] => SimpleXMLElement对象 ( [0] =>钻石城酒店 )
[1] => SimpleXMLElement Object ( [0] => Astera Sathorn )
如何将此转换为单个json,如