JsonModifiers Type
Static members
| Static member |
Description
|
Full Usage:
JsonModifiers.documentAllowTrailingCommas (this, value)
Parameters:
WidgetBuilder<ModuleOrNamespaceNode>
-
Current widget.
value : bool
-
Set to true to allow trailing commas.
Returns: WidgetBuilder<ModuleOrNamespaceNode>
Modifiers: inline |
Allow or disallow trailing commas in the JSON input.
|
Full Usage:
JsonModifiers.documentCommentHandling (this, value)
Parameters:
WidgetBuilder<ModuleOrNamespaceNode>
-
Current widget.
value : JsonCommentHandling
-
Comment handling mode (e.g., JsonCommentHandling.Skip).
Returns: WidgetBuilder<ModuleOrNamespaceNode>
Modifiers: inline |
Set how comments are handled while parsing.
|
Full Usage:
JsonModifiers.documentMaxDepth (this, value)
Parameters:
WidgetBuilder<ModuleOrNamespaceNode>
-
Current widget.
value : int
-
Maximum depth.
Returns: WidgetBuilder<ModuleOrNamespaceNode>
Modifiers: inline |
Set the maximum depth for reading JSON (0 uses framework default).
|
Full Usage:
JsonModifiers.documentOptions (this, options)
Parameters:
WidgetBuilder<ModuleOrNamespaceNode>
-
Current widget.
options : JsonDocumentOptions
-
JsonDocumentOptions to apply.
Returns: WidgetBuilder<ModuleOrNamespaceNode>
Modifiers: inline |
Use a JsonDocumentOptions instance for parsing.
|
Full Usage:
JsonModifiers.nodePropertyNameCaseInsensitive (this, value)
Parameters:
WidgetBuilder<ModuleOrNamespaceNode>
-
Current widget.
value : bool
-
Set to true to make property name matching ignore case.
Returns: WidgetBuilder<ModuleOrNamespaceNode>
Modifiers: inline |
Parse property names case-insensitively.
|
Full Usage:
JsonModifiers.rootName (this, value)
Parameters:
WidgetBuilder<ModuleOrNamespaceNode>
-
Current widget.
value : string
-
Root type name to use.
Returns: WidgetBuilder<ModuleOrNamespaceNode>
Modifiers: inline |
Set the root F# type name (default is "Root").
|
Full Usage:
JsonModifiers.serializerOptions (this, options)
Parameters:
WidgetBuilder<ModuleOrNamespaceNode>
-
Current widget.
options : JsonSerializerOptions
-
JsonSerializerOptions whose related members are used.
Returns: WidgetBuilder<ModuleOrNamespaceNode>
Modifiers: inline |
Seed parsing behavior from a JsonSerializerOptions instance.
|
Fabulous.AST