Open Data Catalog v2.0.0
JsonUtil.php
Go to the documentation of this file.
1 <?php
2 
4 
10 class JsonUtil {
11 
21  public function decodeArrayOfJson(array $arrayOfJson) {
22 
23  return array_map(
24  function ($row) {
25  return json_decode($row);
26  }, $arrayOfJson
27  );
28 
29  }
30 
31 }
Drupal\dkan_common\Service
Definition: Factory.php:3
Drupal\dkan_common\Service\JsonUtil
Definition: JsonUtil.php:10
Drupal\dkan_common\Service\JsonUtil\decodeArrayOfJson
decodeArrayOfJson(array $arrayOfJson)
Definition: JsonUtil.php:21