We are deserializing Json files with Newtonsoft JSON. How do you use the JsonConvert.DeserializeObject<T>()
to deserialize a JSON, which in turn contains a JSON?
{
"character": "Someone",
"json": "{\"test\":true}"
}
We created a type for the nested JSON and decorated it with JsonConverter(typeof(JsonConverter))
or JsonConverter(typeof(JsonConverter<PianoRhythmLessonData>))
but only got errors about missing constructor variants without parameter.