使用 @ 检索 json 数据对象


Retrieve json data object with @

如何使用PHP返回键名为"@"

的值
[directory] => stdClass Object
                (
                    [@id] => 87e0cfeb-e7ea-4814-80ac-a98f770811eb
                    [@title] => _root
                    [@hasClips] => 1
                )
你可以

这样做:

$your_variable->{"@id"}