Class JsonConversionContext
- Namespace
- StepLang.Framework.Conversion
- Assembly
- StepLang.dll
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(ExpressionResult))]
public class JsonConversionContext : JsonSerializerContext, IJsonTypeInfoResolver
- Inheritance
-
JsonConversionContext
- Implements
-
- Inherited Members
-
Constructors
JsonConversionContext()
public JsonConversionContext()
JsonConversionContext(JsonSerializerOptions)
public JsonConversionContext(JsonSerializerOptions options)
Parameters
options
JsonSerializerOptions
Properties
Default
public static JsonConversionContext Default { get; }
Property Value
- JsonConversionContext
ExpressionResult
public JsonTypeInfo<ExpressionResult> ExpressionResult { get; }
Property Value
- JsonTypeInfo<ExpressionResult>
GeneratedSerializerOptions
protected override JsonSerializerOptions? GeneratedSerializerOptions { get; }
Property Value
- JsonSerializerOptions
Methods
GetTypeInfo(Type)
public override JsonTypeInfo? GetTypeInfo(Type type)
Parameters
type
Type
Returns
- JsonTypeInfo