Show / Hide Table of Contents

Class DistanceMatrixConverter

Serializes/Deserializes a DistanceMatrix<TRowKey, TColumnKey, TValue> object using its ToArray() and FromArray() methods.

Inheritance
System.Object
DistanceMatrixConverter
Namespace: SigStat.Common.Helpers.Serialization
Assembly: SigStat.Common.dll
Syntax
public class DistanceMatrixConverter : JsonConverter<DistanceMatrix<string, string, double>>

Methods

| Improve this Doc View Source

ReadJson(JsonReader, Type, DistanceMatrix<String, String, Double>, Boolean, JsonSerializer)

Declaration
public override DistanceMatrix<string, string, double> ReadJson(JsonReader reader, Type objectType, DistanceMatrix<string, string, double> existingValue, bool hasExistingValue, JsonSerializer serializer)
Parameters
Type Name Description
JsonReader reader
Type objectType
DistanceMatrix<System.String, System.String, System.Double> existingValue
System.Boolean hasExistingValue
JsonSerializer serializer
Returns
Type Description
DistanceMatrix<System.String, System.String, System.Double>
| Improve this Doc View Source

WriteJson(JsonWriter, DistanceMatrix<String, String, Double>, JsonSerializer)

Declaration
public override void WriteJson(JsonWriter writer, DistanceMatrix<string, string, double> value, JsonSerializer serializer)
Parameters
Type Name Description
JsonWriter writer
DistanceMatrix<System.String, System.String, System.Double> value
JsonSerializer serializer
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX