NumericsJsonContext Class

Definition

Namespace: Numerics.NET.Data.Json
Assembly: Numerics.NET.Data.Json (in Numerics.NET.Data.Json.dll) Version: 4.1.0
C#
public class NumericsJsonContext : JsonSerializerContext, 
	IJsonTypeInfoResolver
Inheritance
Object  →  JsonSerializerContext  →  NumericsJsonContext
Implements
IJsonTypeInfoResolver

Constructors

NumericsJsonContext()Initializes a new instance of the Object class.
NumericsJsonContext(JsonSerializerOptions)Creates an instance of JsonSerializerContext and binds it with the indicated JsonSerializerOptions.

Properties

Default The default JsonSerializerContext associated with a default JsonSerializerOptions instance.
Double Defines the source generated JSON serialization contract metadata for a given type.
GeneratedSerializerOptions The source-generated options associated with this context.
(Overrides JsonSerializerContext.GeneratedSerializerOptions)
Interval Defines the source generated JSON serialization contract metadata for a given type.
OptionsGets the run-time specified options of the context. If no options were passed when instantiating the context, then a new instance is bound and returned.
(Inherited from JsonSerializerContext)

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetTypeInfoGets metadata for the specified type.
(Overrides JsonSerializerContext.GetTypeInfo(Type))
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also