BaseApi (Basic APIs)
asJSONPrettyString
BaseApi.asJSONPrettyString(obj)obj: the object that needs to be converted to JSON string (can be a dict)# Create a dictionary to hold product information
product = {"productId": "11"}
str_json = BaseApi.asJSONPrettyString(product)This endpoint will return the formatted string of the dictionary, with indentation and sorted keys, for better readability and understanding.asJSONString
BaseApi.asJSONString(obj)obj: the object that needs to be converted to JSON string (can be a dict)fromJSONString
fromJSONStringAsArray
readJSON
writeJSON
writePrettyJSON
successResult
errorResult
extractMessage
isResult
isResultOrNull
UUID
uidToClassName
uidToId
uidToIdStr
waitForMillis
remoteCall
remoteCallAsResult
Parameters
remoteCallAsMap
Parameters
remoteCallAsString
Parameters
remoteCallAsList
Parameters
Returns
remoteCallAsListOfMaps
Parameters
Returns
Last updated