consider the following output from blockchain.info's api:
{"balance":100500000,"address":1HBaNtmXhWSvrud63SRnCoeqcX5ovjXJRu,"total_received":100500000}
this is causing my code to hug trees* on this line:
$blah = json_decode($response);
...because the address string is not being presented as a string (in quotes).
putting the above JSON into
http://jsonlint.com yields the following message:
Parse error on line 3:
...000, "address": 1HBaNtmXhWSvrud63SRn
----------------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
i can create a work-around myself by manually putting quotes around anything that looks like an address, before decoding, but it'd be a bit dodgey...
...anyone else encountered this issue? what did you do about it?
ben, is this something you could possibly change in blockchain.info's output?
cheers.
*quit being a productive member of society