original_string: public function unserialize($value)
      {
          $this->reset();
          $data = json_decode($value, true);
          if ($data === null && json_last_error() != JSON_ERROR_NONE) {
              throw new JsonSerializerException('Invalid JSON to unserialize.');
          }
  
          if (mb_strpos($value, static::UTF8ENCODED_IDENTIFIER_KEY) !== false) {
              $data = $this->decodeNonUtf8FromUtf8($data);
          }
  
          return $this->unserializeData($data);
      }
code: public function unserialize($value)
      {
          $this->reset();
          $data = json_decode($value, true);
          if ($data === null && json_last_error() != JSON_ERROR_NONE) {
              throw new JsonSerializerException('Invalid JSON to unserialize.');
          }
  
          if (mb_strpos($value, static::UTF8ENCODED_IDENTIFIER_KEY) !== false) {
              $data = $this->decodeNonUtf8FromUtf8($data);
          }
  
          return $this->unserializeData($data);
      }
code_tokens: public function unserialize ( $ value ) { $ this -> reset ( ) ; $ data = json_decode ( $ value , true ) ; if ( $ data === null && json_last_error ( ) != JSON_ERROR_NONE ) { throw new JsonSerializerException ( 'Invalid JSON to unserialize.' ) ; } if ( mb_strpos ( $ value , static :: UTF8ENCODED_IDENTIFIER_KEY ) !== false ) { $ data = $ this -> decodeNonUtf8FromUtf8 ( $ data ) ; } return $ this -> unserializeData ( $ data ) ; }
docstring: Unserialize the value from JSON
  
  @param  string $value
  @return mixed
docstring_tokens: Unserialize the value from JSON