note 78928 added to function.json-decode

From: Date: Fri, 02 Nov 2007 17:41:14 +0000
Subject: note 78928 added to function.json-decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-131950@lists.php.net to get a copy of this message
I couldn't use this function, i tryed to pass some json code that uset several parameters in the objects(these json strings worked well with JS ), so i tryied and could'nt get it a example string would be: { "menus":{"menu0":[{"a":"B" , "c":"D" , "e":"F"}, { "g":"H" , "i":"J", "k":"L"}], "menu1":"FOO", } } So when i added the second element "menu1" it returned null v_v.A friend gave me the following class to use(it's not my authoring neither my friends authoring) and it worked wondefully: http://pear.php.net/pepr/pepr-proposal-show.php?id=198 ---- Server IP: 200.185.126.110 Probable Submitter: 189.29.139.25 ---- Manual Page -- http://www.php.net/manual/en/function.json-decode.php Edit -- https://master.php.net/note/edit/78928 Del: integrated -- https://master.php.net/note/delete/78928/integrated Del: useless -- https://master.php.net/note/delete/78928/useless Del: bad code -- https://master.php.net/note/delete/78928/bad+code Del: spam -- https://master.php.net/note/delete/78928/spam Del: non-english -- https://master.php.net/note/delete/78928/non-english Del: in docs -- https://master.php.net/note/delete/78928/in+docs Del: other reasons-- https://master.php.net/note/delete/78928 Reject -- https://master.php.net/note/reject/78928 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131950) next »