WCF-Xtensions Class Reference for Mono
JsonWriter Class Members
Properties  Methods 


The following tables list the members exposed by JsonWriter.

Public Properties
 NameDescription
Public PropertyCloseOutputGets or sets a value indicating whether the underlying stream or System.IO.TextReader should be closed when the writer is closed.  
Public PropertyCultureGets or sets the culture used when writing JSON. Defaults to System.Globalization.CultureInfo.InvariantCulture.  
Public PropertyDateFormatHandling Get or set how dates are written to JSON text.  
Public PropertyDateFormatString Get or set how DateTime and DateTimeOffset values are formatting when writing JSON text.  
Public PropertyDateTimeZoneHandlingGet or set how System.DateTime time zones are handling when writing JSON text.  
Public PropertyFloatFormatHandlingGet or set how special floating point numbers, e.g. System.Double.NaN, System.Double.PositiveInfinity and System.Double.NegativeInfinity, are written to JSON text.  
Public PropertyFormatting Indicates how JSON text output is formatted.  
Public PropertyPath Gets the path of the writer.  
Public PropertyStringEscapeHandling Get or set how strings are escaped when writing JSON text.  
Public PropertyWriteState Gets the state of the writer.  
Top
Public Methods
 NameDescription
Public MethodClose Closes this stream and the underlying stream.  
Public MethodFlush Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.  
Public MethodWriteCommentWrites out a comment /*...*/ containing the specified text.  
Public MethodWriteEndOverloaded.  Writes the end of the current Json object or array.  
Public MethodWriteEndArray Writes the end of an array.  
Public MethodWriteEndConstructor Writes the end constructor.  
Public MethodWriteEndObject Writes the end of a Json object.  
Public MethodWriteNull Writes a null value.  
Public MethodWritePropertyNameOverloaded.  Writes the property name of a name/value pair on a JSON object.  
Public MethodWriteRaw Writes raw JSON without changing the writer's state.  
Public MethodWriteRawValue Writes raw JSON where a value is expected and updates the writer's state.  
Public MethodWriteStartArray Writes the beginning of a Json array.  
Public MethodWriteStartConstructor Writes the start of a constructor with the given name.  
Public MethodWriteStartObject Writes the beginning of a Json object.  
Public MethodWriteTokenOverloaded. Writes the current JsonReader token and its children.  
Public MethodWriteUndefined Writes an undefined value.  
Public MethodWriteValueOverloaded. Writes a System.String value.  
Public MethodWriteWhitespace Writes out the given white space.  
Top
Protected Methods
 NameDescription
Protected MethodSetWriteState Sets the state of the JsonWriter,  
Protected MethodWriteIndent Writes indent characters.  
Protected MethodWriteIndentSpace Writes an indent space.  
Protected MethodWriteValueDelimiter Writes the JSON value delimiter.  
Top
See Also

Reference

JsonWriter Class
Noemax.Newtonsoft.Json Namespace

Send Feedback