You are here

function JSON::unserialize in Drupal Most Popular 7

UnSerialize

Transform an JSON text into a PHP object and return it. @access public

Parameters

string $text JSON text: @return mixed PHP Object, array or false.

2 calls to JSON::unserialize()
JSON::_unserialize in modules/mostpopular_disqus/disqusapi/json.php
UnSerialize
JSON::_unserializeArray in modules/mostpopular_disqus/disqusapi/json.php
JSON Array Parser

File

modules/mostpopular_disqus/disqusapi/json.php, line 112

Class

JSON
JSON

Code

function unserialize($text) {
  $this->error = false;
  return !$this->error ? $this
    ->_unserialize($text) : false;
}