我希望能够将我的JSON对象转换为数组是否在php中有内置函数允许我这样做?
这是我的json对象:
in_userid: "38"
in_email: "user@email.com"
in_firstname: "John"
in_lastname: "Mason"
in_mobilenumber: "00000000000"
in_password: "pass12345"
in_phonenumber: "0000000"
我希望它看起来像这样:
Array(
in_userid => "38",
in_email => "user@email.com",
in_firstname => "John",
in_lastname => "Mason",
in_mobilenumber => "00000000000",
in_password => "pass12345",
in_phonenumber => "0000000",
);
我将如何做到这一点?