[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

09/23/2009 at 02:01PM PDT, ID: 24756578 | Points: 500
[x]
Attachment Details

Alternate way to get json into php array other than json_decode()

Asked by MMOS in JavaScript, PHP Scripting Language, JSON

Hello,
The external json I'm working with (I have no control over its structure) is formated like this

{name:"value",name2:"value2",name3:"value3"}

json_decode() doesn't work because you must have double quotes around the name. Is there another suitable way to get this object into PHP?
[+][-]09/23/09 04:32 PM, ID: 25408996

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/23/09 04:44 PM, ID: 25409055

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625