在线转换 JSON PHP数组
在线转换 json php数组
www.jsonaz.com
例如json数据
{ "number" : 1, "tuple" : [1,2,3], "dict" : { "a": "apple", "b": "banana" }, "complex": { "person": { "name" : "alice", "gender": "female", "age": 19, "friends": [ "Adam","Bob","Candy" ], "religions":[] } } }
将被转换为php数组
array( "number" => 1, "tuple" => array( 0 => 1, 1 => 2, 2 => 3, ), "dict" => array( "a" => "apple", "b" => "banana", ), "complex" => array( "person" => array( "name" => "alice", "gender" => "female", "age" => 19, "friends" => array( 0 => "Adam", 1 => "Bob", 2 => "Candy", ), "religions" => array(), ), ), )
全部在线完成!