public async Task ReplaceFromString(string str) { var replaced = await _client.ReplaceDocumentAsync(_document.SelfLink, JObject.Parse(str)); this._document = replaced.Resource; this._json = null; }