Get value from object (stdClass)

83 Views Asked by At
object(stdClass)#1 (8) { ["money_balance"]=> float(13.38)
["bitcoin_balance"]=> float(2.28448073) ["money_reserved"]=> float(0)    
["bitcoin_reserved"]=> float(2.28448073) ["money_available"]=> float(13.38)      
["bitcoin_available"]=> float(0) ["fee_percentage"]=> float(0.003)
["maker_fee_percentage"]=> float(0.0007) }

Hello. My JSON output as above. I want to get values from this. For example I want to get value of the "bitcoin_balance". I tried as below but not success.

$data->bitcoin_balance //not get

How can I get values from this?

0

There are 0 best solutions below