Vote count:
0
If I have a JObject
, which contains the property "Fields". How do I pull out the contents of this property to an object[]
with deserialized elements?
It seems like no matter what I do, I only get arrays of other JObjects.
myJObject["Fields"] {
"$type": "System.Object[], mscorlib",
"$values": [
123,
"hello"
]
}
In this case, I want to get an object array containing a long 123
and the string "hello"
.
asked 25 secs ago
Json.NET deserializing contents of a JObject?
Aucun commentaire:
Enregistrer un commentaire