C# Class Newtonsoft.Json.Schema.JsonSchemaWriter

Show file Open project: runegri/Applicable Class Usage Examples

Public Methods

Method Description
JsonSchemaWriter ( JsonWriter writer, JsonSchemaResolver resolver ) : System
WriteSchema ( JsonSchema schema ) : void

Private Methods

Method Description
ReferenceOrWriteSchema ( JsonSchema schema ) : void
WriteItems ( JsonSchema schema ) : void
WritePropertyIfNotNull ( JsonWriter writer, string propertyName, object value ) : void
WriteType ( string propertyName, JsonWriter writer, JsonSchemaType type ) : void

Method Details

JsonSchemaWriter() public method

public JsonSchemaWriter ( JsonWriter writer, JsonSchemaResolver resolver ) : System
writer Newtonsoft.Json.JsonWriter
resolver JsonSchemaResolver
return System

WriteSchema() public method

public WriteSchema ( JsonSchema schema ) : void
schema JsonSchema
return void