Commit d7d863ea authored by urfinjuezz's avatar urfinjuezz Committed by Paul Yang

fix json_decode call parameters (#4381)

parent 13e627ad
......@@ -1104,7 +1104,7 @@ class Message
*/
public function parseFromJsonStream($input)
{
$array = json_decode($input->getData(), JSON_BIGINT_AS_STRING);
$array = json_decode($input->getData(), true, 512, JSON_BIGINT_AS_STRING);
if (is_null($array)) {
throw new GPBDecodeException(
"Cannot decode json string.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment