PHP decoding json

后端 未结 5 1833
误落风尘
误落风尘 2021-01-15 18:58

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 = \'
    {
              


        
5条回答
  •  悲哀的现实
    2021-01-15 19:57

     $json_o = json_decode($string);
     print_r( $json_o->workers->{"bitcoinjol.jason-laptop"} );
    

提交回复
热议问题