|
@@ -22,6 +22,9 @@ namespace analyzeJSON
|
|
|
|
|
|
public static string GetNameFromPath(string tokenPath)
|
|
public static string GetNameFromPath(string tokenPath)
|
|
{
|
|
{
|
|
|
|
+ if (string.IsNullOrWhiteSpace(tokenPath))
|
|
|
|
+ return string.Empty;
|
|
|
|
+
|
|
return tokenPath.Split(".").Last();
|
|
return tokenPath.Split(".").Last();
|
|
}
|
|
}
|
|
|
|
|