|Think about Loose Coupling|
How to convert JSON Byte Array back to binary image?by vsawant (Initiate)
|on Jan 28, 2011 at 11:24 UTC||Need Help??|
vsawant has asked for the
wisdom of the Perl Monks concerning the following question:
I have a CGI script which accepts parameters in JSON format.
The .Net client is POSTing the binary image (one of the paramter) file converted into JSON Byte Array. The byte array after decoding using JSON::XS looks something like this:
I think I have to use pack/unpack but not sure how to use it to get the entire byte array converted back into the binary image file. Any help appreciated.