You are not logged in.
Pages: 1
In JSON, a string is a sequence of zero or more Unicode characters, wrapped in double quotes, using backslash escapes.
I would like to remove double quote in my json encode. When I type into address bar:
http://localhost:777/root/Employee/13 it returns a string with extra quotes around Department RawUTF.
{
"ID" : 13,
"Department" : "{\"value\" : \"Plant\",\"ordinal\" : 2}",
"City" : "Sete Lagoas"
}
Any idea?
Offline
As stated by the SAD pdf, it is not possible.
The "Departement" object is stored as TEXT in the database column, and extracted directly as such from the DB.
You just need to decode the JSON string as a JSON object. For instance, it is just one line of JavaScript.
Offline
Pages: 1