PHP decoding json
问题 could anyone here help me with php an decoding json? Im trying to decode a json api url Here is what I have at the moment: $string = ' { "username": "someusername", "unconfirmed_reward": "0.08681793", "send_threshold": "0.01000000", "confirmed_reward": "0.02511418", "workers": { "bitcoinjol.jason-laptop": {"last_share": 1307389634, "score": "0", "hashrate": 0, "shares": 0, "alive": false}, "bitcoinjol.david-laptop": {"last_share": 1307443495, "score": "1.7742", "hashrate": 24, "shares": 1,