so basicly im using block io API. this is the respond:

  "status" : "success",
  "data" : {
    "network" : "BTC",
    "forwarding_private_key" : "L1xyqqzeM3V9mX2Cq75gudcD6HV7Vt6FfXzCEjQ5yKTH7wu43yhL",
    "forwarding_address" : "12eYNpH7chSAyTMcGCyq1rd93kURQSYHif",
    "to_address" : "16GyhGWV4xNEFRKLQ27CGY6epcRMg2mdWm"

this is a JSON right,,?? now i want to show only forwarding_address to user using javascript or PHP. can someone show me how to doit.

closed as off-topic by Murch Sep 10 '15 at 11:59

  • This question does not appear to be about Bitcoin within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • I'm voting to close this question as off-topic because extracting substrings is by not a Cryptocurrency specific task, and should be easy to find on Stackoverflow. See for example: extracting data from json string. – Murch Sep 10 '15 at 11:59

Are you asking how to decode the JSON? Unless I'm missing something, that would just be json_decode($response)['data']['forwarding_address']

Not the answer you're looking for? Browse other questions tagged or ask your own question.