src/helpers/I18n.php
public static function decodeFindActiveArray(array $input, $onEmptyValue = '', $lang = null)
    {
        return static::findActiveArray(static::decodeArray($input, $onEmptyValue), $onEmptyValue, $lang);
    }
public static function decodeFindActiveArray(array $input, $onEmptyValue = '', $lang = null)
    {
        return static::findActiveArray(static::decodeArray($input, $onEmptyValue), $onEmptyValue, $lang);
    }
public static function decodeFindActiveArray ( array $ input , $ onEmptyValue = '' , $ lang = null ) { return static :: findActiveArray ( static :: decodeArray ( $ input , $ onEmptyValue ) , $ onEmptyValue , $ lang ) ; }
Decodes an array with json strings and returns the current active language item for each entry.

```php
// assume the default language is `en`
$output = I18n::decodeFindActiveArray(['{"de":"Hallo","en":"Hello"}'], ['{"de":"Katze","en":"Cat"}']);

var_dump($output); // dump: array('Hello', 'Cat')
```

@param array $input
@param mixed $onEmptyValue The value to use when the requested language could not be found.
@param string $lang The language to return, if no lang is provided, the language resolved trough the admin ui (or user language) is used by default.
@return array
Decodes an array with json strings and returns the current active language item for each entry .