-
Notifications
You must be signed in to change notification settings - Fork 314
Add ToString() to SqlJson #3427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
7c4e0ff
Issue 37739: GH 3424 Add SqlJson ToString()
paulmedynski b30375a
Issue 37739: GH 3424 Add SqlJson ToString()
paulmedynski 75f87e6
Issue 37739: GH 3424 Add SqlJson ToString()
paulmedynski 2a2bd10
Issue 37739: GH 3424 Add SqlJson ToString()
paulmedynski 4ceb419
Issue 37739: GH 3424 Add SqlJson ToString()
paulmedynski c0791a8
Issue 37739: GH 3424 Add SqlJson ToString()
paulmedynski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,69 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<docs> | ||
<members name="SqlJson"> | ||
<SqlJson> | ||
<summary>Represents the JSON datatype in SQL Server.</summary> | ||
</SqlJson> | ||
<ctor1> | ||
<summary>Parameterless constructor. Initializes a new instance of the SqlJson class which represents a null JSON value.</summary> | ||
<summary> | ||
Construct a new instance of the SqlJson class which represents a null | ||
JSON value. | ||
</summary> | ||
</ctor1> | ||
<ctor2> | ||
<param name="jsonString"></param> | ||
<summary>Takes a <see cref="string"/> as input and initializes a new instance of the SqlJson class.</summary> | ||
<summary> | ||
Construct a new instance of the SqlJson class with a serialized JSON | ||
<see cref="string"/>. The string is validated by parsing it with | ||
<see cref="System.Text.Json.JsonDocument"/>. | ||
</summary> | ||
<param name="jsonString"> | ||
The serialized JSON string to use, or null. | ||
</param> | ||
<throw> | ||
<exception cref="System.Text.Json.JsonException"> | ||
If the given string is not valid JSON. | ||
</exception> | ||
</throw> | ||
</ctor2> | ||
<ctor3> | ||
<param name="jsonDoc"></param> | ||
<summary>Takes a <see cref="System.Text.Json.JsonDocument"/> as input and initializes a new instance of the SqlJson class.</summary> | ||
<summary> | ||
Construct a new instance of the SqlJson class with a | ||
<see cref="System.Text.Json.JsonDocument"/>. The serialized JSON string | ||
from the document is saved. | ||
</summary> | ||
<param name="jsonDoc"> | ||
The document to use, or null. | ||
</param> | ||
<throw> | ||
<exception cref="System.ObjectDisposedException"> | ||
If the given document has been disposed of. | ||
</exception> | ||
</throw> | ||
</ctor3> | ||
<IsNull> | ||
<inheritdoc/> | ||
</IsNull> | ||
<Null> | ||
<summary>Represents a null instance of the <see cref="SqlJson"/> type.</summary> | ||
<summary> | ||
Represents a null instance of the <see cref="SqlJson"/> type. This | ||
instance is equivalent to calling the parameterless constructor, or | ||
calling the other constructors with a null value. | ||
</summary> | ||
</Null> | ||
<Value> | ||
<summary>Gets the string representation of the Json content of this <see cref="SqlJson" /> instance.</summary> | ||
<summary> | ||
Gets the serialized JSON string of this <see cref="SqlJson" /> instance. | ||
</summary> | ||
<throw> | ||
<exception cref="System.Data.SqlTypes.SqlNullValueException"> | ||
If the JSON value is null. | ||
</exception> | ||
</throw> | ||
</Value> | ||
<ToString> | ||
<summary> | ||
Returns the serialized JSON string, or null. | ||
</summary> | ||
</ToString> | ||
</members> | ||
</docs> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.