public function jsonDecodeFilter($str, $assoc = false, $depth = 512, $options = 0)
    {
        return json_decode(html_entity_decode($str), $assoc, $depth, $options);
    }
public function jsonDecodeFilter($str, $assoc = false, $depth = 512, $options = 0)
    {
        return json_decode(html_entity_decode($str), $assoc, $depth, $options);
    }
public function jsonDecodeFilter ( $ str , $ assoc = false , $ depth = 512 , $ options = 0 ) { return json_decode ( html_entity_decode ( $ str ) , $ assoc , $ depth , $ options ) ; }
Decodes string from JSON.

@param  string  $str
@param  bool  $assoc
@param  int $depth
@param  int $options
@return array
Decodes string from JSON .