Class MetricsResponseConverter
Inheritance
System.Object
MetricsResponseConverter
Assembly: Steeltoe.Management.EndpointBase.dll
Syntax
public class MetricsResponseConverter : JsonConverter<IMetricsResponse>
Methods
|
Edit this page
View Source
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Declaration
public override IMetricsResponse Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type |
Name |
Description |
Utf8JsonReader |
reader |
|
Type |
typeToConvert |
|
JsonSerializerOptions |
options |
|
Returns
|
Edit this page
View Source
Write(Utf8JsonWriter, IMetricsResponse, JsonSerializerOptions)
Declaration
public override void Write(Utf8JsonWriter writer, IMetricsResponse value, JsonSerializerOptions options)
Parameters
Type |
Name |
Description |
Utf8JsonWriter |
writer |
|
IMetricsResponse |
value |
|
JsonSerializerOptions |
options |
|