public static FindPathResult FromJson(JsonObject json)
{
if (json == null)
return null;
FindPathResult result = new FindPathResult();
// result.MapImage = NAResultMapImage.FromJson((JsonObject)json["mapImage"]);
if (json["pathList"] != null)
{
result.PathList = new List<ServerPath>();
for (int i = 0; i < json["pathList"].Count; i++)
{
result.PathList.Add(ServerPath.ServerPathFromJson((JsonObject)json["pathList"][i]));
}
}
return result;
}