JsonSchemaSerializationContext
The JSON Schema serialization context holding information about the current serialization.
using System;
namespace NJsonSchema.Infrastructure
{
public class JsonSchemaSerializationContext
{
[ThreadStatic]
private static SchemaType _currentSchemaType;
public static SchemaType CurrentSchemaType {
get {
return _currentSchemaType;
}
set {
_currentSchemaType = value;
}
}
}
}