Click or drag to resize

MatrixJsonConverter Class

JSON converter for rectangular matrices.
Inheritance Hierarchy
SystemObject
  System.Text.Json.SerializationJsonConverter
    System.Text.Json.SerializationJsonConverterMatrix
      Austra.LibraryMatrixJsonConverter

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
Syntax
C#
public class MatrixJsonConverter : JsonConverter<Matrix>

The MatrixJsonConverter type exposes the following members.

Constructors
 NameDescription
Public methodMatrixJsonConverterInitializes a new instance of the MatrixJsonConverter class
Top
Properties
 NameDescription
Public propertyHandleNullGets a value that indicates whether should be passed to the converter on serialization, and whether Null should be passed on deserialization.
(Inherited from JsonConverterMatrix)
Public propertyTypeGets the type being converted by the current converter instance.
(Inherited from JsonConverterMatrix)
Top
Methods
 NameDescription
Public methodCanConvertDetermines whether the specified type can be converted.
(Inherited from JsonConverterMatrix)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodReadReads and convert JSON to a Matrix instance.
(Overrides JsonConverterTRead(Utf8JsonReader, Type, JsonSerializerOptions))
Public methodReadAsPropertyNameReads a dictionary key from a JSON property name.
(Inherited from JsonConverterMatrix)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWriteConverts a rectangular matrix to JSON.
(Overrides JsonConverterTWrite(Utf8JsonWriter, T, JsonSerializerOptions))
Public methodWriteAsPropertyNameWrites a dictionary key as a JSON property name.
(Inherited from JsonConverterMatrix)
Top
See Also