Class SerializationOptions
Represents options for serialization. Overrides generatePreview and returnByValue.
public sealed record SerializationOptions : IEquatable<SerializationOptions>
- Inheritance
-
SerializationOptions
- Implements
- Inherited Members
Constructors
SerializationOptions(string)
Represents options for serialization. Overrides generatePreview and returnByValue.
public SerializationOptions(string Serialization)
Parameters
Serializationstring
Properties
AdditionalParameters
Embedder-specific parameters. For example if connected to V8 in Chrome these control DOM serialization via maxNodeDepth: integer and includeShadowTree: "none" | "open" | "all". Values can be only of type string or integer.
public JsonElement? AdditionalParameters { get; init; }
Property Value
MaxDepth
Deep serialization depth. Default is full depth. Respected only in deep serialization mode.
public long? MaxDepth { get; init; }
Property Value
- long?
Serialization
public string Serialization { get; init; }