Constructors
-
JSchema
Validating Initializes a new instance of the JSchemaValidatingWriter class that validates the content that will be written to the given JsonWriter.Writer(Json Writer)
Methods
- Close() virtual Closes this stream and the underlying stream.
- Flush() virtual Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
-
Write
Comment(String) virtual Writes out a comment /*...*/ containing the specified text. -
Write
End(Json protectedvirtual Writes the specified end token.Token) -
Write
Null() virtual Writes a null value. -
Write
Property virtual Writes the property name of a name/value pair on a Json object.Name(String) -
Write
Raw(String) virtual Writes raw JSON. -
Write
Raw virtual Writes raw JSON where a value is expected and updates the writer's state.Value(String) -
Write
Start virtual Writes the beginning of a Json array.Array() -
Write
Start virtual Writes the start of a constructor with the given name.Constructor(String) -
Write
Start virtual Writes the beginning of a Json object.Object() -
Write
Undefined() virtual Writes an undefined value. -
Write
Value(Boolean) virtual Writes a Boolean value. -
Write
Value(Byte) virtual Writes a Byte value. -
Write
Value(Byte[]) virtual Writes a Byte[] value. -
Write
Value(Char) virtual Writes a Char value. -
Write
Value(Date virtual Writes a DateTime value.Time) -
Write
Value(Date virtual Writes a DateTimeOffset value.Time Offset) -
Write
Value(Decimal) virtual Writes a Decimal value. -
Write
Value(Double) virtual Writes a Double value. -
Write
Value(Guid) virtual Writes a Guid value. -
Write
Value(Int16) virtual Writes a Int16 value. -
Write
Value(Int32) virtual Writes a Int32 value. -
Write
Value(Int64) virtual Writes a Int64 value. -
Write
Value(Object) virtual Writes a Object value. An error will raised if the value cannot be written as a single JSON token. -
Write
Value(SByte) virtual Writes a SByte value. -
Write
Value(Single) virtual Writes a Single value. -
Write
Value(String) virtual Writes a String value. -
Write
Value(Time virtual Writes a TimeSpan value.Span) -
Write
Value(UInt16) virtual Writes a UInt16 value. -
Write
Value(UInt32) virtual Writes a UInt32 value. -
Write
Value(UInt64) virtual Writes a UInt64 value. -
Write
Value(Uri) virtual Writes a Uri value.
Properties
-
Regex
Match Gets or sets a timeout that will be used when executing regular expressions.Timeout - Schema Gets or sets the schema.
Events
-
Validation
Event Sets an event handler for receiving schema validation errors.Handler