Hello,
I cannot get Json documents with the command "object:getJsonDocList():getJsonDoc()"
I got the answer "table: 07092D0".
I checked the response message with the command "object:getStrResponse()" and all information is in the string.
Can you help me? Thank you!
I am running the following code:
storageService:findDocumentById(dbName, collectionName,docId,App42CallBack)
function App42CallBack:onSuccess(object)
print("dbName is "..object:getDbName())
print("DocId is "..object:getJsonDocList():getDocId())
print("CreatedAt is "..object:getJsonDocList():getCreatedAt())
print(object:getJsonDocList():getJsonDoc())
print(object:getStrResponse())
end
function App42CallBack:onException(exception)
print("Message is : "..exception:getMessage())
print("App Error code is : "..exception:getAppErrorCode())
print("Http Error code is "..exception:getHttpErrorCode())
print("Detail is : "..exception:getDetails())
end
closed with the note:
Resolved