src/MediaServices/Models/AssetDeliveryPolicyConfigurationKey.php
public static function parseAssetDeliveryPolicyConfigurationKey($json)
    {
        $result = [];
        $array = json_decode($json, true);
        foreach ($array as $item) {
            $item = array_change_key_case($item, CASE_LOWER);
            $result[$item['key']] = $item['value'];
        }

        return $result;
    }
public static function parseAssetDeliveryPolicyConfigurationKey($json)
    {
        $result = [];
        $array = json_decode($json, true);
        foreach ($array as $item) {
            $item = array_change_key_case($item, CASE_LOWER);
            $result[$item['key']] = $item['value'];
        }

        return $result;
    }
public static function parseAssetDeliveryPolicyConfigurationKey ( $ json ) { $ result = [ ] ; $ array = json_decode ( $ json , true ) ; foreach ( $ array as $ item ) { $ item = array_change_key_case ( $ item , CASE_LOWER ) ; $ result [ $ item [ 'key' ] ] = $ item [ 'value' ] ; } return $ result ; }
Helper function to pack the AssetDeliveryPolicyConfigurationKey.

@param string $json

@return array the unpacked array
Helper function to pack the AssetDeliveryPolicyConfigurationKey .