I want to be able to convert my JSON object into an array is there a built in function in php that allows me to do this?
Here is my json object:
in_userid: "38"
in_email: "user@email.com"
in_firstname: "John"
in_lastname: "Mason"
in_mobilenumber: "00000000000"
in_password: "pass12345"
in_phonenumber: "0000000"
and I want it to look something like this:
Array(
in_userid => "38",
in_email => "user@email.com",
in_firstname => "John",
in_lastname => "Mason",
in_mobilenumber => "00000000000",
in_password => "pass12345",
in_phonenumber => "0000000",
);
How will I do this?