using Newtonsoft.Json.Linq;
public static void Main()
""en"": ""Confirm password"",
""ar"": ""Confirm password""
""addressInputStrings"": {
""placeholder"": ""Start typing your address"",
""addressNotListed"": ""My address is not listed"",
""country"": ""Country of residence"",
""required"": ""Please upload a document."",
""fileUploadSuccessful"": ""File uploaded successfully: "",
""multipartContentTypeError"": ""The request couldn't be processed (Error 1)""
var root = JObject.Parse(json);
var leafProperties = root
.Where(p => p.Value is JValue);
foreach (var prop in leafProperties)
Console.WriteLine($"{prop.Path}\t{prop.Value}");