PropertyNameCaseInsensitive
This commit is contained in:
parent
fc28712893
commit
d5b2242f70
@ -190,7 +190,7 @@ public class WSRequest
|
|||||||
if (!wsResults.Success)
|
if (!wsResults.Success)
|
||||||
throw new Exception(wsResults.ToString());
|
throw new Exception(wsResults.ToString());
|
||||||
}
|
}
|
||||||
WS.Results metrologyWSRequest = JsonSerializer.Deserialize<WS.Results>(json);
|
WS.Results metrologyWSRequest = JsonSerializer.Deserialize<WS.Results>(json, new JsonSerializerOptions { PropertyNameCaseInsensitive = true });
|
||||||
long wsResultsHeaderID = metrologyWSRequest.HeaderID;
|
long wsResultsHeaderID = metrologyWSRequest.HeaderID;
|
||||||
string[] pclFiles = Directory.GetFiles(matchDirectory, "*.pcl", SearchOption.TopDirectoryOnly);
|
string[] pclFiles = Directory.GetFiles(matchDirectory, "*.pcl", SearchOption.TopDirectoryOnly);
|
||||||
if (pclFiles.Length != 1)
|
if (pclFiles.Length != 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user