[This is preliminary documentation and is subject to change.]
Writes entitie's data/state as JSON string
Namespace: NFX.Serialization.JSONAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
void WriteAsJSON(
TextWriter wri,
int nestingLevel,
JSONWritingOptions options = null
)
void WriteAsJSON(
TextWriter wri,
int nestingLevel,
JSONWritingOptions options = null
)
Sub WriteAsJSON (
wri As TextWriter,
nestingLevel As Integer,
Optional options As JSONWritingOptions = Nothing
)
Sub WriteAsJSON (
wri As TextWriter,
nestingLevel As Integer,
Optional options As JSONWritingOptions = Nothing
)
void WriteAsJSON(
TextWriter^ wri,
int nestingLevel,
JSONWritingOptions^ options = nullptr
)
void WriteAsJSON(
TextWriter^ wri,
int nestingLevel,
JSONWritingOptions^ options = nullptr
)
abstract WriteAsJSON :
wri : TextWriter *
nestingLevel : int *
?options : JSONWritingOptions
(* Defaults:
let _options = defaultArg options null
*)
-> unit
abstract WriteAsJSON :
wri : TextWriter *
nestingLevel : int *
?options : JSONWritingOptions
(* Defaults:
let _options = defaultArg options null
*)
-> unit
Parameters
- wri
- Type:
System.IO TextWriter
TextWriter to write JSON content into
- nestingLevel
- Type:
System Int32
A level of nesting that this instance is at, relative to the graph root.
Implementations may elect to use this parameter to control indenting or ignore it
- options (Optional)
- Type: NFX.Serialization.JSON JSONWritingOptions
Writing options, such as indenting.
Implementations may elect to use this parameter to control text output or ignore it