For reasons beyond my control, I have data coming back from an external service being formatted as an array of array of string: [["string_one", "string_two"]]
I am trying to deserialize this into an object with two properties:
public class MyObject
{
public string PropertyOne { get; set; }
public string PropertyTwo { get; set; }
}
I'm using Json.NET for all JSON serialization/deserialization. When I attempt to convert the array of array of string, I get an exception saying that JsonArray can't be converted to MyObject. What's the appropriate way to implement this?