I noticed that too while testing the first issue, I'll look further into it and let you know.
----- Original Message ----
From: Arash Amiri <ara...@re...>
To: jso...@li...
Sent: Thursday, November 8, 2007 7:58:34 AM
Subject: [json-lib-user] quotes in value string when special characters in value
Hi
Now I have the following problem:
Assume my JSON Object looks like this:
{'fields':[{"name":"Test1","value":"{Value1}"},
{"name":"Test2","value":"Value2"},
]}
when I convert it to a JSONArray and then try to get the first value by
using JSONObject.getString( "value" ) the value is "{{{Value1}}}" (with
the quotes sorrounding it!!!)
for Value2 it works perfectly (no quotes)
the same happens for value such as [Value1] (gets converted to
"[Value1]")
any ideas how I can change this behaviour? Please help.
greetings, arash
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
json-lib-user mailing list
jso...@li...
https://lists.sourceforge.net/lists/listinfo/json-lib-user
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com |