-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve parsing of JSON messages in Slice tools (#4051)
- Loading branch information
Showing
3 changed files
with
36 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright (c) ZeroC, Inc. | ||
|
||
using System.Text.Json.Serialization; | ||
|
||
namespace IceRpc.Slice.Tools; | ||
|
||
public class BuildTelemetry | ||
{ | ||
[JsonPropertyName("hash")] | ||
public string CompilationHash { get; set; } = ""; | ||
|
||
[JsonPropertyName("contains_slice1")] | ||
public bool ContainsSlice1 { get; set; } | ||
|
||
[JsonPropertyName("contains_slice2")] | ||
public bool ContainsSlice2 { get; set; } | ||
|
||
[JsonPropertyName("src_file_count")] | ||
public int SourceFileCount { get; set; } | ||
|
||
[JsonPropertyName("ref_file_count")] | ||
public int ReferenceFileCount { get; set; } | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters