Cannot convert Dictionary<string, Dictionary<string, string>> to JsonObject in C#
I am trying to return JsonObject as the interface of my method is – public Task<ServiceResult<JsonObject>> GetTranslation(string language); but my test fails at expectedData: var apiResponse = new Dictionary<string, Dictionary<string, string>>() { { "PAGE_NAME", new Dictionary<string, string>() { { "KEY_NAME", "LOCALE IN PARAMETER LANGUAGE" }, { "COPY_TO_CLIPBOARD", "Copy to clipboard" } } } }; var… Read More Cannot convert Dictionary<string, Dictionary<string, string>> to JsonObject in C#