Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 7 of 7 total |
TParser Example. |
Wed, Jul 8 2015 12:05 AM | Permanent Link |
Steve Gill | I am thinking of changing the way I POST data to URLs by sending it in JSON format instead. Are there any examples that show how to use TParser to encode the data to send as JSON, and then decode the JSON data received?
Thanks. = Steve |
Wed, Jul 8 2015 10:09 AM | Permanent Link |
D.C. | >Steve Gill wrote:
>I am thinking of changing the way I POST data to URLs by sending it in JSON format instead. Are there any >examples that show how to use TParser to encode the data to send as JSON, and then decode the JSON data >received? >Thanks. >= Steve +1 |
Thu, Jul 9 2015 2:18 AM | Permanent Link |
Godfrey Ultimatesoft | Steve Gill wrote:
I am thinking of changing the way I POST data to URLs by sending it in JSON format instead. Are there any examples that show how to use TParser to encode the data to send as JSON, and then decode the JSON data received? +1 |
Thu, Jul 9 2015 3:36 AM | Permanent Link |
Mark Brooks Slikware | Steve Gill wrote:
>>I am thinking of changing the way I POST data to URLs by sending it in JSON format instead. Are there any >>examples that show how to use TParser to encode the data to send as JSON, and then decode the JSON data >>received? If you're using EWB2 then TWriter is the class to look at. Makes it very simple indeed. |
Thu, Jul 9 2015 3:24 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Steve,
<< I am thinking of changing the way I POST data to URLs by sending it in JSON format instead. Are there any examples that show how to use TParser to encode the data to send as JSON, and then decode the JSON data received? >> What you want are the TReader and TWriter classes for reading/writing TPersistent-and-descendant class instances. There's an example project included with EWB2 called persistence that shows how to do it. This is it running live: http://www.elevatesoft.com:8081/persistence/persistence.html If you have any other questions, please let me know. Tim Young Elevate Software www.elevatesoft.com |
Thu, Jul 9 2015 6:14 PM | Permanent Link |
Steve Gill | << What you want are the TReader and TWriter classes for reading/writing
TPersistent-and-descendant class instances. There's an example project included with EWB2 called persistence that shows how to do it. This is it running live: http://www.elevatesoft.com:8081/persistence/persistence.html If you have any other questions, please let me know. >> Thanks Tim and Mark, I didn't know those two classes even existed. = Steve |
Fri, Jul 10 2015 3:23 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Steve,
<< Thanks Tim and Mark, I didn't know those two classes even existed. >> Without the TReader class, forms could not be loaded at application startup. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Thursday, March 28, 2024 at 06:05 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |