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

CC BY-SA 3.0
2015-09-05T04:36:01.847Z
2015-09-05T04:36:01.847Z
Nick ODell
<p>so basicly im using block io API.
this is the respond:</p>

<pre><code>{
  "status" : "success",
  "data" : {
    "network" : "BTC",
    "forwarding_private_key" : "L1xyqqzeM3V9mX2Cq75gudcD6HV7Vt6FfXzCEjQ5yKTH7wu43yhL",
    "forwarding_address" : "12eYNpH7chSAyTMcGCyq1rd93kURQSYHif",
    "to_address" : "16GyhGWV4xNEFRKLQ27CGY6epcRMg2mdWm"
  }
}
</code></pre>

<p>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.</p>

CC BY-SA 3.0
2015-09-10T11:59:44.163Z
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](http://stackoverflow.com/q/22628457/1364089).
Murch
<payment><php><javascript>
how to make Instant Payment Forwarding
Thadeus Paskal Kebubun
# how to make Instant Payment Forwarding

(Asked by: username_0 on 2015-09-05)

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.

**Tags:** payment, php, javascript

> **Comments:**
> **username_1**: 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](http://stackoverflow.com/q/22628457/1364089).  

---

## 1 answers

### Answer by username_2 on 2015-09-05. Score: 0 | Accepted answer

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


---

