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
But your socket stream doesnt seem too. Possibly#Look for everything past the first JSON pointer $p->set_jsonpointer(["/^"]);
would help$p->feed('['); while (my $line = <$cl>) { ...
or MAYBE if you drop $p->set_jsonpointer(["/^"]); you wont need to prefeed it or the inserted commas, dunnno
|
|---|