Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
Description
My json document contains nested array.
{
|
"_id" : ObjectId("5a26b43b38a9447d8032e8a2"),
|
"personId" : UUID("50aa744d-95c3-4b77-9ffe-b2593c6d9732"),
|
"address" : {
|
"state" : "california"
|
},
|
"contacts" : [
|
{ "name" : "John" },
|
{ "name" : "Bob" }
|
]
|
}
|
I get an this error.
|
|
{"Value type of serializer is System.Collections.Generic.List`1[[Model.V1.Contacts, PlatformAPI.Monitoring.Core, Version=1.2.0.403, Culture=neutral, PublicKeyToken=null]] and does not match member type System.Collections.Generic.IEnumerable`1[[Model.V1.Contacts, PlatformAPI.Monitoring.Core, Version=1.2.0.403, Culture=neutral, PublicKeyToken=null]].\r\nParameter name: serializer"}
|