0
我試圖從Azure的功能中寫入以下文件DocumentDb:Text屬性沒有序列號
dynamic doc = new {
customer = "mycust",
version = "version2",
document = JObject.Parse("{\"prop1\": \"Some text.\"}")
}
await
_client.CreateDocumentAsync(UriFactory.CreateDocumentCollectionUri("db", "coll"),doc);
當保存到documentdb我得到:
{
"customer": "mycust",
"version": "version2",
"document": {
"prop1": []
},
"id": "93ccb6d6-8829-4179-beba-606078f63dea"
}
「一些文本」是失蹤。在調試器中,它被正確解析。