FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18215&edit=1

ID: 18215
Updated by: sumachaa@gmail.com
Reported By: sumachaa at gmail dot com
Summary: Error when using decode for longer strings
-Status: Open
+Status: Closed
Type: Bug
Package: Services_JSON
Operating System: Windows & Linux
Package Version: 1.0.3
PHP Version: 5.2.5
-Assigned To:
+Assigned To: sumachaa
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: sumachaa
working with the latest version


Previous Comments:
------------------------------------------------------------------------

[2011-01-24 09:26:30] sumachaa

Description:
------------
When using the Services_JSON class to decode a JSON string which is big
in length the response is coming as NULL object.

Test script:
---------------
include "JSON.php";
$json = new Services_JSON();
$input = file_get_contents('json.resp.json_1');
$value = $json->decode($input);
var_dump($value);

Expected result:
----------------
the complete list of object from the input

Actual result:
--------------
stdClass Object
(
)
object(stdClass)#2 (0) {
}

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 24, '11 at 8:39a
activeJan 24, '11 at 8:39a
posts1
users1
websitepear.php.net

1 user in discussion

Sumachaa: 1 post

People

Translate

site design / logo © 2022 Grokbase