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