Returns a Promise which resolves to the body of the call as a JSON object.
function json(): Promise<object>;
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.