这是一个非常复杂的问题,涉及当数据不是强类型时如何通过网络服务调用序列化数据。我会尽量把它布置好。示例存储对象:[Serializable]publicclassStorageObject{publicstringName{get;set;}publicstringBirthday{get;set;}publicListOtherInfo{get;set;}}[Serializable]publicclassNameValuePairs{publicstringName{get;set;}publicstringValue{get;set;}}示例使用:[WebMethod]publi
我创建了一些文档并设法进行了一些简单的查询,但我无法创建一个查询来查找仅存在字段的文档。例如假设这是一个文档:{"profile_sidebar_border_color":"D9B17E","name":"???????????","default_profile":false,"show_all_inline_media":true,"otherInfo":["text":"sometext","value":123]}现在我想要一个查询,它将把otherInfo中的文本包含在其中的所有文档带到其中。如果没有文本,那么otherInfo将是这样的:"otherInfo":[]所以我
我创建了一些文档并设法进行了一些简单的查询,但我无法创建一个查询来查找仅存在字段的文档。例如假设这是一个文档:{"profile_sidebar_border_color":"D9B17E","name":"???????????","default_profile":false,"show_all_inline_media":true,"otherInfo":["text":"sometext","value":123]}现在我想要一个查询,它将把otherInfo中的文本包含在其中的所有文档带到其中。如果没有文本,那么otherInfo将是这样的:"otherInfo":[]所以我