Seems that you have a syntax error in the JSON string. Inspect its content before sending it to the JSON decoder.
On Sat, Oct 4, 2008 at 2:35 PM, GYANPRAKASH PANDEY < [EMAIL PROTECTED]> wrote: > Dear all, > > I'm using JSON and php for back end data transfer in flex. But, i'm getting > following error: > Error: Unexpected g encountered > at com.adobe.serialization.json::JSONTokenizer/parseError() > at com.adobe.serialization.json::JSONTokenizer/getNextToken() > at com.adobe.serialization.json::JSONDecoder/::nextToken() > at com.adobe.serialization.json::JSONDecoder$iinit() > at com.adobe.serialization.json::JSON$/decode() > at adminPage/handlePlainJSON() > at adminPage/__pendingOrderRpc_result() > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at mx.rpc.http.mxml::HTTPService/ > http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()<http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent%28%29> > at mx.rpc::AbstractInvoker/ > http://www.adobe.com/2006/flex/mx/internal::resultHandler()<http://www.adobe.com/2006/flex/mx/internal::resultHandler%28%29> > at mx.rpc::Responder/result() > at mx.rpc::AsyncRequest/acknowledge() > at ::DirectHTTPMessageResponder/completeHandler() > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at flash.net::URLLoader/flash.net:URLLoader::onComplete() > > > Can u please help me out in this case.. > > Thanx alot in advance.. > > Regards, > Gyanprakash Pandey > > > ------------------------------ > Unlimited freedom, unlimited storage. Get it > now<http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/> > > -- Haykel Ben Jemia Allmas Web & RIA Development http://www.allmas-tn.com