private static string GetValue(JsonData json, string name) { var value = json[name]; return (value == null) ? null : value.ToString(); } }