in reply to Trying to decode JSON streaming from a website

Besides what Corion said Re: Trying to decode JSON streaming from a website, your __data__stream starts with a [ and that goes with

#Look for everything past the first JSON pointer $p->set_jsonpointer(["/^"]);
But your socket stream doesnt seem too. Possibly
$p->feed('['); while (my $line = <$cl>) { ...
would help

or MAYBE if you drop $p->set_jsonpointer(["/^"]); you wont need to prefeed it or the inserted commas, dunnno