I don't think that JSON::SL likes invalid JSON, and if your stream is coming in without the commas separating the JSON objects, it is not valid JSON.
You will have to find a way to insert the commas before feeding the data to JSON::SL. Maybe s/\{"sequenceNumber/,\{"sequenceNumber/g is already enough. If you are lucky, the JSON stream really has the newlines as you showed, then you can do s!\n!,!g.
In reply to Re: Trying to decode JSON streaming from a website
by Corion
in thread Trying to decode JSON streaming from a website
by ve6sar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |