Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 8 of 8 total |
Missing character in JSON |
Mon, Oct 8 2012 5:09 AM | Permanent Link |
Ronald | Hi,
In my sourcecode I have: Database.StartTransaction; tbHolidays.Update; tbHolidays.Columns['name'].AsString:='testname'; tbHolidays.Save; Database.Commit; The JSON that is sent to my server misses the ":' characters: { "operations" [ { "dataset" "albums" "operation" 2, "beforerow" { "No" 1, "Name" "The Bends" "Artist" "Radiohead" "Genre" "Rock" "Year" 1995, "Label" "EMI Records" "Imported" False, "NumDiscs" 1, "CoverArt" albums.dat?method=load column=CoverArt row=1, "Comments" "Excellent second release by Radiohead with more of a rock sound than some of their later albums." "PurchasedOn" 8, "PurchasePrice" 12.99 }, "afterrow" { "Name" "testname" } } ] } What happened here? Ronald |
Tue, Oct 9 2012 4:14 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ronald,
<< The JSON that is sent to my server misses the ":' characters: >> How is the JSON being parsed on the web server side ? Tim Young Elevate Software www.elevatesoft.com |
Wed, Oct 10 2012 3:53 AM | Permanent Link |
Ronald | Nothing, I do:
AddToLog(Request.ContentFields.Text); Other JSON strings are correct. "Tim Young [Elevate Software]" schreef in bericht news:65A4AAE8-A79B-42A9-A3B2-0958C1E36164@news.elevatesoft.com... Ronald, << The JSON that is sent to my server misses the ":' characters: >> How is the JSON being parsed on the web server side ? Tim Young Elevate Software www.elevatesoft.com |
Mon, Oct 15 2012 1:30 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ronald,
<< Nothing, I do: AddToLog(Request.ContentFields.Text); >> Yes, but what are you using on the server-side for building your web application ? Delphi with Indy, etc. ? Thanks, Tim Young Elevate Software www.elevatesoft.com |
Mon, Oct 15 2012 5:14 PM | Permanent Link |
Ronald | No, just a TWebModule that responses to Request.ContentFields:
procedure TWebModule18.WebModule18DefaultHandlerAction(Sender: TObject; Request: TWebRequest; Response: TWebResponse; var Handled: Boolean); begin AddToLog(Request.ContentFields.Text); end; No Indy or anything. "Tim Young [Elevate Software]" schreef in bericht news:46A4A14E-B564-4021-9643-864BFB8F81B9@news.elevatesoft.com... Ronald, << Nothing, I do: AddToLog(Request.ContentFields.Text); >> Yes, but what are you using on the server-side for building your web application ? Delphi with Indy, etc. ? Thanks, Tim Young Elevate Software www.elevatesoft.com |
Tue, Oct 16 2012 5:37 AM | Permanent Link |
Ronald | I will just wait for the ewb server to arrive.
"Ronald" schreef in bericht news:9FC0F3A2-8614-406A-A15A-CF4F91355D99@news.elevatesoft.com... No, just a TWebModule that responses to Request.ContentFields: procedure TWebModule18.WebModule18DefaultHandlerAction(Sender: TObject; Request: TWebRequest; Response: TWebResponse; var Handled: Boolean); begin AddToLog(Request.ContentFields.Text); end; No Indy or anything. "Tim Young [Elevate Software]" schreef in bericht news:46A4A14E-B564-4021-9643-864BFB8F81B9@news.elevatesoft.com... Ronald, << Nothing, I do: AddToLog(Request.ContentFields.Text); >> Yes, but what are you using on the server-side for building your web application ? Delphi with Indy, etc. ? Thanks, Tim Young Elevate Software www.elevatesoft.com |
Wed, Oct 24 2012 1:15 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ronald,
<< No, just a TWebModule that responses to Request.ContentFields: >> More than likely the problem is with the way that the web module is processing the incoming data. Some back-ends are not particularly good at dealing with Unicode characters as UTF-8. Tim Young Elevate Software www.elevatesoft.com |
Wed, Oct 24 2012 1:15 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ronald,
<< I will just wait for the ewb server to arrive. >> Yes, it doesn't have any issue with this type of thing. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, December 6, 2024 at 05:39 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |