Drupal8解析json数据


Use the Json::decode() method:


```
use Drupal\Component\Serialization\Json;

...

$decoded = Json::decode($data);
```

Postingan terkait: