w1609734805

查询返回的数据格式为什么不是json格式,如何转换成json格式,返回格式如下我想要json格式。 Array ( [0] => LeanCloud\LeanObject Object ( [ className:LeanCloud\LeanObject:private] => TestObject [ data:LeanCloud\LeanObject:private] => Array ( [objectId] => 61d5de983adfef7fd0e060b1 [words] => Hello world! [createdAt] => DateT…

为什么我get返回不是json格式数据而是下面的好像是数组之类的,我用的是php LeanCloud\LeanObject Object ( [ className:LeanCloud\LeanObject:private] => TestObject [ data:LeanCloud\LeanObject:private] => Array ( [objectId] => 61d5e09d766aa1328757c3af [words] => 这周周会改到周三下午三点。 [createdAt] => DateTime Object ( [date] => …

你好LeanObject数据格式该用什么方法转换,能解答下吗,非常非常感谢您。

好的,万分感谢你的回复