Microsoft.Data.SqlTypes.SqlJson
Represents the JSON datatype in SQL Server.
Represents a null instance of the SqlJson type. This
instance is equivalent to calling the parameterless constructor, or
calling the other constructors with a null value.
Gets the serialized JSON string of this SqlJson instance.
public SqlJson()
Construct a new instance of the SqlJson class which represents a null
JSON value.
Construct a new instance of the SqlJson class with a serialized JSON
String. The string is validated by parsing it with
JsonDocument.
Construct a new instance of the SqlJson class with a
JsonDocument. The serialized JSON string
from the document is saved.