I have some data which I have decode by using base64_decode. After the decode I got values like this:
{
"quantity" = "1";
"product-id" = "gigaplex.subscription.monthly";
"item-id" = "421702921";
"version-external-identifier" = "4000187";
"purchase-date" = "2011-08-09 18:38:52 Etc/GMT";
"app-item-id" = "421702836";
"transaction-id" = "30000011473303";
"original-purchase-date" = "2011-08-09 18:38:52 Etc/GMT";
"original-transaction-id" = "30000011473303";
"bid" = "com.gigaplex.gigaplexHD";
"bvrs" = "1.4";
}
but my problem is I can’t extract the specified value from this string. Please give some suggestion to extract this…
Convert it to json with a couple of str_replace functions then decode it :
http://codepad.org/kOc862aD
** works but im sure can be improved