- paulo gomes
- SnapDevelop
- Monday, 2 December 2019 12:32 AM UTC
Hi All,
The result set return by the datastore is a JSON format which is different when compared with the JSON string returned by the datastore.ExportPlainJson built in method: teh column names are surrounded by the back slash character \
Example is shown below (both display only part of the JSON returned):
datastore result set returned in JSON
{"memHistoryLoad":[{"Compute_0001":1.0,"Policy_Type_Policy_Type_Name":"Member Reservation Points",
"Contract_Resort_Id":"142510000000004867","Contract_Resort_Name":"Divi Club"
String datastore.ExportPlainJson: the columns are surrounded by \ (back slash) character:
{"MemberHistory":["[{\"Compute_0001\":1.0,\"Policy_Type_Policy_Type_Name\":\"Member Reservation Points\",
\"Contract_Resort_Id\":\"142510000000004867\",\"Contract_Resort_Name\":\"Divi Club\"
Is there any other built-in method to extract the JSON string from the datastore?
Thank you,
Paulo Gomes
Interval International LLC
pgomes@intervalintl.com
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.