nuget reorganization
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"version": 2,
|
||||
"contentHash": "JWxlYwCSYXZIWezmrvRgaxhI/vEEpQlZVm6/lskuS7p/uPrNJzQxbe2CPjzkF3UUz4RI8WkmObs6ycpxoE9T7w==",
|
||||
"source": "https://api.nuget.org/v3/index.json"
|
||||
}
|
||||
BIN
.nuget/packages/json.more.net/1.8.0/.signature.p7s
vendored
BIN
.nuget/packages/json.more.net/1.8.0/.signature.p7s
vendored
Binary file not shown.
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Json.More.Net</id>
|
||||
<version>1.8.0</version>
|
||||
<authors>Greg Dennis</authors>
|
||||
<license type="file">LICENSE</license>
|
||||
<licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>
|
||||
<icon>json-logo-256.png</icon>
|
||||
<projectUrl>https://github.com/gregsdennis/json-everything</projectUrl>
|
||||
<description>Provides extended functionality for the System.Text.Json namespace.</description>
|
||||
<releaseNotes>Release notes can be found on [GitHub](https://github.com/gregsdennis/json-everything/blob/master/json-everything.net/wwwroot/md/release-notes/json-more.md) and https://json-everything.net/json-more</releaseNotes>
|
||||
<tags>json system.text.json json.more</tags>
|
||||
<repository type="git" url="https://github.com/gregsdennis/json-everything" commit="487b7398ff5cf47d894cd693645a9a61bc0359c8" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETStandard2.0">
|
||||
<dependency id="System.Text.Json" version="6.0.2" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
21
.nuget/packages/json.more.net/1.8.0/LICENSE
vendored
21
.nuget/packages/json.more.net/1.8.0/LICENSE
vendored
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Greg Dennis
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB |
Binary file not shown.
@@ -1 +0,0 @@
|
||||
2mKdoLpi93pC7IYaoFxb//PopX3i+xrqtgbp0mfbMRl5WdjiPBoa8cY8irAI87NJNCjFOgbF2POSjTnILYRSYg==
|
||||
@@ -1,495 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Json.More</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<!-- Badly formed XML comment ignored for member "T:Json.More.EnumStringConverter`1" -->
|
||||
<member name="M:Json.More.EnumStringConverter`1.Read(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>Reads and converts the JSON to type <typeparamref name="T" />.</summary>
|
||||
<param name="reader">The reader.</param>
|
||||
<param name="typeToConvert">The type to convert.</param>
|
||||
<param name="options">An object that specifies serialization options to use.</param>
|
||||
<returns>The converted value.</returns>
|
||||
<exception cref="T:System.Text.Json.JsonException">Element was not a string or could not identify the JSON value as a known enum value.</exception>
|
||||
</member>
|
||||
<member name="M:Json.More.EnumStringConverter`1.ReadAsPropertyName(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>Reads a dictionary key from a JSON property name.</summary>
|
||||
<param name="reader">The <see cref="T:System.Text.Json.Utf8JsonReader" /> to read from.</param>
|
||||
<param name="typeToConvert">The type to convert.</param>
|
||||
<param name="options">The options to use when reading the value.</param>
|
||||
<returns>The value that was converted.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.EnumStringConverter`1.Write(System.Text.Json.Utf8JsonWriter,`0,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>Writes a specified value as JSON.</summary>
|
||||
<param name="writer">The writer to write to.</param>
|
||||
<param name="value">The value to convert to JSON.</param>
|
||||
<param name="options">An object that specifies serialization options to use.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.EnumStringConverter`1.WriteAsPropertyName(System.Text.Json.Utf8JsonWriter,`0,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>Writes a dictionary key as a JSON property name.</summary>
|
||||
<param name="writer">The <see cref="T:System.Text.Json.Utf8JsonWriter" /> to write to.</param>
|
||||
<param name="value">The value to convert. The value of <see cref="P:System.Text.Json.Serialization.JsonConverter`1.HandleNull" /> determines if the converter handles <see langword="null" /> values.</param>
|
||||
<param name="options">The options to use when writing the value.</param>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonDocumentEqualityComparer">
|
||||
<summary>
|
||||
Calculates equality between two <see cref="T:System.Text.Json.JsonDocument"/>s.
|
||||
</summary>
|
||||
<remarks>
|
||||
This comparison is compliant with the ideals expressed by JSON:
|
||||
|
||||
- Objects are unordered.
|
||||
- Arrays are ordered.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Json.More.JsonDocumentEqualityComparer.Instance">
|
||||
<summary>
|
||||
A singleton instance for convenience.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonDocumentEqualityComparer.Equals(System.Text.Json.JsonDocument,System.Text.Json.JsonDocument)">
|
||||
<summary>Determines whether the specified objects are equal.</summary>
|
||||
<param name="x">The first object of type T to compare.</param>
|
||||
<param name="y">The second object of type T to compare.</param>
|
||||
<returns>true if the specified objects are equal; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonDocumentEqualityComparer.GetHashCode(System.Text.Json.JsonDocument)">
|
||||
<summary>Returns a hash code for the specified object.</summary>
|
||||
<param name="obj">The <see cref="T:System.Object"></see> for which a hash code is to be returned.</param>
|
||||
<returns>A hash code for the specified object.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">The type of <paramref name="obj">obj</paramref> is a reference type and <paramref name="obj">obj</paramref> is null.</exception>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonDocumentExtensions">
|
||||
<summary>
|
||||
Provides extension functionality for <see cref="T:System.Text.Json.JsonDocument"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonDocumentExtensions.IsEquivalentTo(System.Text.Json.JsonDocument,System.Text.Json.JsonDocument)">
|
||||
<summary>
|
||||
Determines JSON-compatible equivalence.
|
||||
</summary>
|
||||
<param name="a">The first document.</param>
|
||||
<param name="b">The second document.</param>
|
||||
<returns>`true` if the documents are equivalent; `false` otherwise.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonDocumentExtensions.ToJsonDocument``1(``0,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>
|
||||
Converts an object to a <see cref="T:System.Text.Json.JsonDocument"/>.
|
||||
</summary>
|
||||
<typeparam name="T">The type of the object.</typeparam>
|
||||
<param name="value">The value to convert.</param>
|
||||
<param name="options">(optional) JSON serialization options.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonDocument"/> representing the vale.</returns>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonElementEqualityComparer">
|
||||
<summary>
|
||||
Calculates equality between two <see cref="T:System.Text.Json.JsonElement"/>s.
|
||||
</summary>
|
||||
<remarks>
|
||||
This comparison is compliant with the ideals expressed by JSON:
|
||||
|
||||
- Objects are unordered.
|
||||
- Arrays are ordered.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Json.More.JsonElementEqualityComparer.Instance">
|
||||
<summary>
|
||||
A singleton instance for convenience.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementEqualityComparer.Equals(System.Text.Json.JsonElement,System.Text.Json.JsonElement)">
|
||||
<summary>Determines whether the specified objects are equal.</summary>
|
||||
<param name="x">The first object of type T to compare.</param>
|
||||
<param name="y">The second object of type T to compare.</param>
|
||||
<returns>true if the specified objects are equal; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementEqualityComparer.GetHashCode(System.Text.Json.JsonElement)">
|
||||
<summary>Returns a hash code for the specified object.</summary>
|
||||
<param name="obj">The <see cref="T:System.Object"></see> for which a hash code is to be returned.</param>
|
||||
<returns>A hash code for the specified object.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">The type of <paramref name="obj">obj</paramref> is a reference type and <paramref name="obj">obj</paramref> is null.</exception>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonElementExtensions">
|
||||
<summary>
|
||||
Provides extension functionality for <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.IsEquivalentTo(System.Text.Json.JsonElement,System.Text.Json.JsonElement)">
|
||||
<summary>
|
||||
Determines JSON-compatible equivalence.
|
||||
</summary>
|
||||
<param name="a">The first element.</param>
|
||||
<param name="b">The second element.</param>
|
||||
<returns>`true` if the element are equivalent; `false` otherwise.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not valid.</exception>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.GetEquivalenceHashCode(System.Text.Json.JsonElement,System.Int32)">
|
||||
<summary>
|
||||
Generate a consistent JSON-value-based hash code for the element.
|
||||
</summary>
|
||||
<param name="element">The element.</param>
|
||||
<param name="maxHashDepth">Maximum depth to calculate. Default is -1 which utilizes the entire structure without limitation.</param>
|
||||
<returns>The hash code.</returns>
|
||||
<remarks>
|
||||
See the following for discussion on why the default implementation is insufficient:
|
||||
|
||||
- https://github.com/gregsdennis/json-everything/issues/76
|
||||
- https://github.com/dotnet/runtime/issues/33388
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.ToJsonString(System.Text.Json.JsonElement)">
|
||||
<summary>
|
||||
Just a shortcut for calling `JsonSerializer.Serialize()` because `.ToString()` doesn't do what you might expect.
|
||||
</summary>
|
||||
<param name="element">The value to convert.</param>
|
||||
<returns>A JSON string.</returns>
|
||||
<remarks>
|
||||
See https://github.com/dotnet/runtime/issues/42502
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Int64)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Int32)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int32"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Int16)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int16"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Boolean)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Boolean"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Decimal)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Double)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Double"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Single)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Single"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.String)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.String"/> to a <see cref="T:System.Text.Json.JsonElement"/>. Can also be used to get a `null` element.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Collections.Generic.IEnumerable{System.Text.Json.JsonElement})">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="values">The array of values to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Collections.Generic.IDictionary{System.String,System.Text.Json.JsonElement})">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="values">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsNode(System.Text.Json.JsonElement)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Text.Json.JsonElement"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
|
||||
</summary>
|
||||
<param name="element">The element.</param>
|
||||
<returns>An equivalent node.</returns>
|
||||
<remarks>
|
||||
This provides a single point of conversion as one is not provided by .Net.
|
||||
See https://github.com/dotnet/runtime/issues/70427 for more information.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Acts as an intermediary that allows an "implicit casting"-like behavior between
|
||||
native JSON types and <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Int32)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `int` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Int64)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `long` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Int16)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `short` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Single)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `float` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Double)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `double` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Decimal)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `decimal` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.String)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `string` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Boolean)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `bool` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(Json.More.JsonElementProxy)~System.Text.Json.JsonElement">
|
||||
<summary>
|
||||
Converts a <see cref="T:Json.More.JsonElementProxy"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="proxy">The proxy.</param>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonNodeEqualityComparer">
|
||||
<summary>
|
||||
Calculates equality between two <see cref="T:System.Text.Json.JsonElement"/>s.
|
||||
</summary>
|
||||
<remarks>
|
||||
This comparison is compliant with the ideals expressed by JSON:
|
||||
|
||||
- Objects are unordered.
|
||||
- Arrays are ordered.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Json.More.JsonNodeEqualityComparer.Instance">
|
||||
<summary>
|
||||
A singleton instance for convenience.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeEqualityComparer.Equals(System.Text.Json.Nodes.JsonNode,System.Text.Json.Nodes.JsonNode)">
|
||||
<summary>Determines whether the specified objects are equal.</summary>
|
||||
<param name="x">The first object of type T to compare.</param>
|
||||
<param name="y">The second object of type T to compare.</param>
|
||||
<returns>true if the specified objects are equal; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeEqualityComparer.GetHashCode(System.Text.Json.Nodes.JsonNode)">
|
||||
<summary>Returns a hash code for the specified object.</summary>
|
||||
<param name="obj">The <see cref="T:System.Object"></see> for which a hash code is to be returned.</param>
|
||||
<returns>A hash code for the specified object.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">The type of <paramref name="obj">obj</paramref> is a reference type and <paramref name="obj">obj</paramref> is null.</exception>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonNodeExtensions">
|
||||
<summary>
|
||||
Provides extension functionality for <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.IsEquivalentTo(System.Text.Json.Nodes.JsonNode,System.Text.Json.Nodes.JsonNode)">
|
||||
<summary>
|
||||
Determines JSON-compatible equivalence.
|
||||
</summary>
|
||||
<param name="a">The first element.</param>
|
||||
<param name="b">The second element.</param>
|
||||
<returns>`true` if the element are equivalent; `false` otherwise.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.GetEquivalenceHashCode(System.Text.Json.Nodes.JsonNode,System.Int32)">
|
||||
<summary>
|
||||
Generate a consistent JSON-value-based hash code for the element.
|
||||
</summary>
|
||||
<param name="node">The element.</param>
|
||||
<param name="maxHashDepth">Maximum depth to calculate. Default is -1 which utilizes the entire structure without limitation.</param>
|
||||
<returns>The hash code.</returns>
|
||||
<remarks>
|
||||
See the following for discussion on why the default implementation is insufficient:
|
||||
|
||||
- https://github.com/gregsdennis/json-everything/issues/76
|
||||
- https://github.com/dotnet/runtime/issues/33388
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.AsJsonString(System.Text.Json.Nodes.JsonNode,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>
|
||||
Gets JSON string representation for <see cref="T:System.Text.Json.Nodes.JsonNode"/>, including null support.
|
||||
</summary>
|
||||
<param name="node">A node.</param>
|
||||
<param name="options">Serializer options</param>
|
||||
<returns>JSON string representation.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.GetNumber(System.Text.Json.Nodes.JsonValue)">
|
||||
<summary>
|
||||
Gets a node's underlying numeric value.
|
||||
</summary>
|
||||
<param name="value">A JSON value.</param>
|
||||
<returns>Gets the underlying numeric value, or null if the node represented a non-numeric value.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.GetInteger(System.Text.Json.Nodes.JsonValue)">
|
||||
<summary>
|
||||
Gets a node's underlying numeric value if it's an integer.
|
||||
</summary>
|
||||
<param name="value">A JSON value.</param>
|
||||
<returns>Gets the underlying numeric value if it's an integer, or null if the node represented a non-integer value.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.Copy(System.Text.Json.Nodes.JsonNode)">
|
||||
<summary>
|
||||
Creates a copy of a node by passing it through the serializer.
|
||||
</summary>
|
||||
<param name="source">A node.</param>
|
||||
<returns>A duplicate of the node.</returns>
|
||||
<remarks>
|
||||
`JsonNode` may only be part of a single JSON tree, i.e. have a single parent.
|
||||
Copying a node allows its value to be saved to another JSON tree.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.TryGetValue(System.Text.Json.Nodes.JsonObject,System.String,System.Text.Json.Nodes.JsonNode@,System.Exception@)">
|
||||
<summary>
|
||||
Convenience method that wraps <see cref="M:System.Text.Json.Nodes.JsonObject.TryGetPropertyValue(System.String,System.Text.Json.Nodes.JsonNode@)"/>
|
||||
and catches argument exceptions.
|
||||
</summary>
|
||||
<param name="obj">The JSON object.</param>
|
||||
<param name="propertyName">The property name</param>
|
||||
<param name="node">The node under the property name if it exists and is singular; null otherwise.</param>
|
||||
<param name="e">An exception if one was thrown during the access attempt.</param>
|
||||
<returns>true if the property exists and is singular within the JSON data.</returns>
|
||||
<remarks>
|
||||
<see cref="M:System.Text.Json.Nodes.JsonObject.TryGetPropertyValue(System.String,System.Text.Json.Nodes.JsonNode@)"/> throws an
|
||||
<see cref="T:System.ArgumentException"/> if the node was parsed from data that has duplicate
|
||||
keys. Please see https://github.com/dotnet/runtime/issues/70604 for more information.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.ToJsonArray(System.Collections.Generic.IEnumerable{System.Text.Json.Nodes.JsonNode})">
|
||||
<summary>
|
||||
Creates a new <see cref="T:System.Text.Json.Nodes.JsonArray"/> from an enumerable of nodes.
|
||||
</summary>
|
||||
<param name="nodes">The nodes.</param>
|
||||
<returns>A JSON array.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.GetPathFromRoot(System.Text.Json.Nodes.JsonNode,System.Boolean)">
|
||||
<summary>
|
||||
Gets a JSON Path string that indicates the node's location within
|
||||
its JSON structure.
|
||||
</summary>
|
||||
<param name="node">The node to find.</param>
|
||||
<param name="useShorthand">Determines whether shorthand syntax is used when possible, e.g. `$.foo`.</param>
|
||||
<exception cref="T:System.ArgumentNullException">Null nodes cannot be located as the parent cannot be determined.</exception>
|
||||
<returns>
|
||||
A string containing a JSON Path.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.GetPointerFromRoot(System.Text.Json.Nodes.JsonNode)">
|
||||
<summary>
|
||||
Gets a JSON Pointer string that indicates the node's location within
|
||||
its JSON structure.
|
||||
</summary>
|
||||
<param name="node">The node to find.</param>
|
||||
<exception cref="T:System.ArgumentNullException">Null nodes cannot be located as the parent cannot be determined.</exception>
|
||||
<returns>
|
||||
A string containing a JSON Pointer.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonNull">
|
||||
<summary>
|
||||
Provides a <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance to use as null.
|
||||
</summary>
|
||||
<remarks>
|
||||
.Net has decided to unify JSON null with .Net null. This decision has a number
|
||||
of consequences. This value is provided to get around some of these issues.
|
||||
|
||||
This class *should not be used as a property value*, but rather as a signal to indicate
|
||||
that null was explicitly passed rather than a property missing.
|
||||
|
||||
See https://github.com/dotnet/runtime/issues/68128 for more information.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Json.More.JsonNull.SignalNode">
|
||||
<summary>
|
||||
Provides a static instance of this class wrapped in a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Json.More.TypeExtensions">
|
||||
<summary>
|
||||
Provides informative methods for types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.TypeExtensions.IsInteger(System.Type)">
|
||||
<summary>
|
||||
Determines whether the type is considered an integer.
|
||||
</summary>
|
||||
<param name="type">The type.</param>
|
||||
<returns>true if it represents an integer; false otherwise.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.TypeExtensions.IsFloatingPoint(System.Type)">
|
||||
<summary>
|
||||
Determines whether the type is a non-integer floating point number.
|
||||
</summary>
|
||||
<param name="type">The type.</param>
|
||||
<returns>true if it represents a floating-point number; false otherwise.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.TypeExtensions.IsNumber(System.Type)">
|
||||
<summary>
|
||||
Determines whether the type is a number.
|
||||
</summary>
|
||||
<param name="type">The type.</param>
|
||||
<returns>true if it represents a number; false otherwise.</returns>
|
||||
</member>
|
||||
<member name="T:Json.More.Utf8JsonWriterExtensions">
|
||||
<summary>
|
||||
Provides extension functionality for <see cref="T:System.Text.Json.Utf8JsonWriter"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.Utf8JsonWriterExtensions.WriteValue(System.Text.Json.Utf8JsonWriter,System.Text.Json.JsonElement)">
|
||||
<summary>
|
||||
Writes a <see cref="T:System.Text.Json.JsonElement"/> to the stream.
|
||||
</summary>
|
||||
<param name="writer">The JSON stream writer.</param>
|
||||
<param name="element">The element to write.</param>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not valid.</exception>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"version": 2,
|
||||
"contentHash": "MMjd2dOh32hLbcZg9YyA+7aEH9gu2cMTEAWrQY17in4+aEsPg2NtYTcwgWHJS9Tt2WUx+4iN1mNegR2uiEwsVQ==",
|
||||
"source": "https://api.nuget.org/v3/index.json"
|
||||
}
|
||||
BIN
.nuget/packages/json.more.net/1.9.0/.signature.p7s
vendored
BIN
.nuget/packages/json.more.net/1.9.0/.signature.p7s
vendored
Binary file not shown.
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Json.More.Net</id>
|
||||
<version>1.9.0</version>
|
||||
<authors>Greg Dennis</authors>
|
||||
<license type="file">LICENSE</license>
|
||||
<licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>
|
||||
<icon>json-logo-256.png</icon>
|
||||
<projectUrl>https://github.com/gregsdennis/json-everything</projectUrl>
|
||||
<description>Provides extended functionality for the System.Text.Json namespace.
|
||||
|
||||
Read the full documentation at https://docs.json-everything.net/more/json-more/.</description>
|
||||
<releaseNotes>Release notes can be found at https://docs.json-everything.net/rn-json-more/</releaseNotes>
|
||||
<tags>json system.text.json json.more</tags>
|
||||
<repository type="git" url="https://github.com/gregsdennis/json-everything" commit="ff10b206fe99cdc03eadd00b7ce87871494576a5" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETStandard2.0">
|
||||
<dependency id="System.Text.Json" version="6.0.2" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
21
.nuget/packages/json.more.net/1.9.0/LICENSE
vendored
21
.nuget/packages/json.more.net/1.9.0/LICENSE
vendored
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Greg Dennis
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB |
Binary file not shown.
@@ -1 +0,0 @@
|
||||
seto9EQl9vqHW5L6WavB5hSPUgVYyG6fCQiEAZyFJOrIY6lvIdl6WJu2E6FzyIjFg0kwG2QqzOO5oAZbO0Kn7Q==
|
||||
@@ -1,513 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Json.More</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<!-- Badly formed XML comment ignored for member "T:Json.More.EnumStringConverter`1" -->
|
||||
<member name="M:Json.More.EnumStringConverter`1.Read(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>Reads and converts the JSON to type <typeparamref name="T" />.</summary>
|
||||
<param name="reader">The reader.</param>
|
||||
<param name="typeToConvert">The type to convert.</param>
|
||||
<param name="options">An object that specifies serialization options to use.</param>
|
||||
<returns>The converted value.</returns>
|
||||
<exception cref="T:System.Text.Json.JsonException">Element was not a string or could not identify the JSON value as a known enum value.</exception>
|
||||
</member>
|
||||
<member name="M:Json.More.EnumStringConverter`1.ReadAsPropertyName(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>Reads a dictionary key from a JSON property name.</summary>
|
||||
<param name="reader">The <see cref="T:System.Text.Json.Utf8JsonReader" /> to read from.</param>
|
||||
<param name="typeToConvert">The type to convert.</param>
|
||||
<param name="options">The options to use when reading the value.</param>
|
||||
<returns>The value that was converted.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.EnumStringConverter`1.Write(System.Text.Json.Utf8JsonWriter,`0,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>Writes a specified value as JSON.</summary>
|
||||
<param name="writer">The writer to write to.</param>
|
||||
<param name="value">The value to convert to JSON.</param>
|
||||
<param name="options">An object that specifies serialization options to use.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.EnumStringConverter`1.WriteAsPropertyName(System.Text.Json.Utf8JsonWriter,`0,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>Writes a dictionary key as a JSON property name.</summary>
|
||||
<param name="writer">The <see cref="T:System.Text.Json.Utf8JsonWriter" /> to write to.</param>
|
||||
<param name="value">The value to convert. The value of <see cref="P:System.Text.Json.Serialization.JsonConverter`1.HandleNull" /> determines if the converter handles <see langword="null" /> values.</param>
|
||||
<param name="options">The options to use when writing the value.</param>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonDocumentEqualityComparer">
|
||||
<summary>
|
||||
Calculates equality between two <see cref="T:System.Text.Json.JsonDocument"/>s.
|
||||
</summary>
|
||||
<remarks>
|
||||
This comparison is compliant with the ideals expressed by JSON:
|
||||
|
||||
- Objects are unordered.
|
||||
- Arrays are ordered.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Json.More.JsonDocumentEqualityComparer.Instance">
|
||||
<summary>
|
||||
A singleton instance for convenience.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonDocumentEqualityComparer.Equals(System.Text.Json.JsonDocument,System.Text.Json.JsonDocument)">
|
||||
<summary>Determines whether the specified objects are equal.</summary>
|
||||
<param name="x">The first object of type T to compare.</param>
|
||||
<param name="y">The second object of type T to compare.</param>
|
||||
<returns>true if the specified objects are equal; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonDocumentEqualityComparer.GetHashCode(System.Text.Json.JsonDocument)">
|
||||
<summary>Returns a hash code for the specified object.</summary>
|
||||
<param name="obj">The <see cref="T:System.Object"></see> for which a hash code is to be returned.</param>
|
||||
<returns>A hash code for the specified object.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">The type of <paramref name="obj">obj</paramref> is a reference type and <paramref name="obj">obj</paramref> is null.</exception>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonDocumentExtensions">
|
||||
<summary>
|
||||
Provides extension functionality for <see cref="T:System.Text.Json.JsonDocument"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonDocumentExtensions.IsEquivalentTo(System.Text.Json.JsonDocument,System.Text.Json.JsonDocument)">
|
||||
<summary>
|
||||
Determines JSON-compatible equivalence.
|
||||
</summary>
|
||||
<param name="a">The first document.</param>
|
||||
<param name="b">The second document.</param>
|
||||
<returns>`true` if the documents are equivalent; `false` otherwise.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonDocumentExtensions.ToJsonDocument``1(``0,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>
|
||||
Converts an object to a <see cref="T:System.Text.Json.JsonDocument"/>.
|
||||
</summary>
|
||||
<typeparam name="T">The type of the object.</typeparam>
|
||||
<param name="value">The value to convert.</param>
|
||||
<param name="options">(optional) JSON serialization options.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonDocument"/> representing the vale.</returns>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonElementEqualityComparer">
|
||||
<summary>
|
||||
Calculates equality between two <see cref="T:System.Text.Json.JsonElement"/>s.
|
||||
</summary>
|
||||
<remarks>
|
||||
This comparison is compliant with the ideals expressed by JSON:
|
||||
|
||||
- Objects are unordered.
|
||||
- Arrays are ordered.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Json.More.JsonElementEqualityComparer.Instance">
|
||||
<summary>
|
||||
A singleton instance for convenience.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementEqualityComparer.Equals(System.Text.Json.JsonElement,System.Text.Json.JsonElement)">
|
||||
<summary>Determines whether the specified objects are equal.</summary>
|
||||
<param name="x">The first object of type T to compare.</param>
|
||||
<param name="y">The second object of type T to compare.</param>
|
||||
<returns>true if the specified objects are equal; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementEqualityComparer.GetHashCode(System.Text.Json.JsonElement)">
|
||||
<summary>Returns a hash code for the specified object.</summary>
|
||||
<param name="obj">The <see cref="T:System.Object"></see> for which a hash code is to be returned.</param>
|
||||
<returns>A hash code for the specified object.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">The type of <paramref name="obj">obj</paramref> is a reference type and <paramref name="obj">obj</paramref> is null.</exception>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonElementExtensions">
|
||||
<summary>
|
||||
Provides extension functionality for <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.IsEquivalentTo(System.Text.Json.JsonElement,System.Text.Json.JsonElement)">
|
||||
<summary>
|
||||
Determines JSON-compatible equivalence.
|
||||
</summary>
|
||||
<param name="a">The first element.</param>
|
||||
<param name="b">The second element.</param>
|
||||
<returns>`true` if the element are equivalent; `false` otherwise.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not valid.</exception>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.GetEquivalenceHashCode(System.Text.Json.JsonElement,System.Int32)">
|
||||
<summary>
|
||||
Generate a consistent JSON-value-based hash code for the element.
|
||||
</summary>
|
||||
<param name="element">The element.</param>
|
||||
<param name="maxHashDepth">Maximum depth to calculate. Default is -1 which utilizes the entire structure without limitation.</param>
|
||||
<returns>The hash code.</returns>
|
||||
<remarks>
|
||||
See the following for discussion on why the default implementation is insufficient:
|
||||
|
||||
- https://github.com/gregsdennis/json-everything/issues/76
|
||||
- https://github.com/dotnet/runtime/issues/33388
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.ToJsonString(System.Text.Json.JsonElement)">
|
||||
<summary>
|
||||
Just a shortcut for calling `JsonSerializer.Serialize()` because `.ToString()` doesn't do what you might expect.
|
||||
</summary>
|
||||
<param name="element">The value to convert.</param>
|
||||
<returns>A JSON string.</returns>
|
||||
<remarks>
|
||||
See https://github.com/dotnet/runtime/issues/42502
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Int64)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Int32)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int32"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Int16)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int16"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Boolean)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Boolean"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Decimal)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Double)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Double"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Single)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Single"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.String)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.String"/> to a <see cref="T:System.Text.Json.JsonElement"/>. Can also be used to get a `null` element.
|
||||
</summary>
|
||||
<param name="value">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Collections.Generic.IEnumerable{System.Text.Json.JsonElement})">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="values">The array of values to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsJsonElement(System.Collections.Generic.IDictionary{System.String,System.Text.Json.JsonElement})">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="values">The value to convert.</param>
|
||||
<returns>A <see cref="T:System.Text.Json.JsonElement"/> representing the value.</returns>
|
||||
<remarks>This is a workaround for lack of native support in the System.Text.Json namespace.</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementExtensions.AsNode(System.Text.Json.JsonElement)">
|
||||
<summary>
|
||||
Converts a <see cref="T:System.Text.Json.JsonElement"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
|
||||
</summary>
|
||||
<param name="element">The element.</param>
|
||||
<returns>An equivalent node.</returns>
|
||||
<remarks>
|
||||
This provides a single point of conversion as one is not provided by .Net.
|
||||
See https://github.com/dotnet/runtime/issues/70427 for more information.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Acts as an intermediary that allows an "implicit casting"-like behavior between
|
||||
native JSON types and <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Int32)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `int` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Int64)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `long` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Int16)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `short` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Single)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `float` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Double)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `double` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Decimal)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `decimal` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.String)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `string` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(System.Boolean)~Json.More.JsonElementProxy">
|
||||
<summary>
|
||||
Converts an `bool` to a <see cref="T:Json.More.JsonElementProxy"/>.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonElementProxy.op_Implicit(Json.More.JsonElementProxy)~System.Text.Json.JsonElement">
|
||||
<summary>
|
||||
Converts a <see cref="T:Json.More.JsonElementProxy"/> to a <see cref="T:System.Text.Json.JsonElement"/>.
|
||||
</summary>
|
||||
<param name="proxy">The proxy.</param>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonNodeEqualityComparer">
|
||||
<summary>
|
||||
Calculates equality between two <see cref="T:System.Text.Json.JsonElement"/>s.
|
||||
</summary>
|
||||
<remarks>
|
||||
This comparison is compliant with the ideals expressed by JSON:
|
||||
|
||||
- Objects are unordered.
|
||||
- Arrays are ordered.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Json.More.JsonNodeEqualityComparer.Instance">
|
||||
<summary>
|
||||
A singleton instance for convenience.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeEqualityComparer.Equals(System.Text.Json.Nodes.JsonNode,System.Text.Json.Nodes.JsonNode)">
|
||||
<summary>Determines whether the specified objects are equal.</summary>
|
||||
<param name="x">The first object of type T to compare.</param>
|
||||
<param name="y">The second object of type T to compare.</param>
|
||||
<returns>true if the specified objects are equal; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeEqualityComparer.GetHashCode(System.Text.Json.Nodes.JsonNode)">
|
||||
<summary>Returns a hash code for the specified object.</summary>
|
||||
<param name="obj">The <see cref="T:System.Object"></see> for which a hash code is to be returned.</param>
|
||||
<returns>A hash code for the specified object.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">The type of <paramref name="obj">obj</paramref> is a reference type and <paramref name="obj">obj</paramref> is null.</exception>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonNodeExtensions">
|
||||
<summary>
|
||||
Provides extension functionality for <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.IsEquivalentTo(System.Text.Json.Nodes.JsonNode,System.Text.Json.Nodes.JsonNode)">
|
||||
<summary>
|
||||
Determines JSON-compatible equivalence.
|
||||
</summary>
|
||||
<param name="a">The first element.</param>
|
||||
<param name="b">The second element.</param>
|
||||
<returns>`true` if the element are equivalent; `false` otherwise.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.GetEquivalenceHashCode(System.Text.Json.Nodes.JsonNode,System.Int32)">
|
||||
<summary>
|
||||
Generate a consistent JSON-value-based hash code for the element.
|
||||
</summary>
|
||||
<param name="node">The element.</param>
|
||||
<param name="maxHashDepth">Maximum depth to calculate. Default is -1 which utilizes the entire structure without limitation.</param>
|
||||
<returns>The hash code.</returns>
|
||||
<remarks>
|
||||
See the following for discussion on why the default implementation is insufficient:
|
||||
|
||||
- https://github.com/gregsdennis/json-everything/issues/76
|
||||
- https://github.com/dotnet/runtime/issues/33388
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.AsJsonString(System.Text.Json.Nodes.JsonNode,System.Text.Json.JsonSerializerOptions)">
|
||||
<summary>
|
||||
Gets JSON string representation for <see cref="T:System.Text.Json.Nodes.JsonNode"/>, including null support.
|
||||
</summary>
|
||||
<param name="node">A node.</param>
|
||||
<param name="options">Serializer options</param>
|
||||
<returns>JSON string representation.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.GetNumber(System.Text.Json.Nodes.JsonValue)">
|
||||
<summary>
|
||||
Gets a node's underlying numeric value.
|
||||
</summary>
|
||||
<param name="value">A JSON value.</param>
|
||||
<returns>Gets the underlying numeric value, or null if the node represented a non-numeric value.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.GetInteger(System.Text.Json.Nodes.JsonValue)">
|
||||
<summary>
|
||||
Gets a node's underlying numeric value if it's an integer.
|
||||
</summary>
|
||||
<param name="value">A JSON value.</param>
|
||||
<returns>Gets the underlying numeric value if it's an integer, or null if the node represented a non-integer value.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.Copy(System.Text.Json.Nodes.JsonNode)">
|
||||
<summary>
|
||||
Creates a copy of a node by passing it through the serializer.
|
||||
</summary>
|
||||
<param name="source">A node.</param>
|
||||
<returns>A duplicate of the node.</returns>
|
||||
<remarks>
|
||||
`JsonNode` may only be part of a single JSON tree, i.e. have a single parent.
|
||||
Copying a node allows its value to be saved to another JSON tree.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.TryGetValue(System.Text.Json.Nodes.JsonObject,System.String,System.Text.Json.Nodes.JsonNode@,System.Exception@)">
|
||||
<summary>
|
||||
Convenience method that wraps <see cref="M:System.Text.Json.Nodes.JsonObject.TryGetPropertyValue(System.String,System.Text.Json.Nodes.JsonNode@)"/>
|
||||
and catches argument exceptions.
|
||||
</summary>
|
||||
<param name="obj">The JSON object.</param>
|
||||
<param name="propertyName">The property name</param>
|
||||
<param name="node">The node under the property name if it exists and is singular; null otherwise.</param>
|
||||
<param name="e">An exception if one was thrown during the access attempt.</param>
|
||||
<returns>true if the property exists and is singular within the JSON data.</returns>
|
||||
<remarks>
|
||||
<see cref="M:System.Text.Json.Nodes.JsonObject.TryGetPropertyValue(System.String,System.Text.Json.Nodes.JsonNode@)"/> throws an
|
||||
<see cref="T:System.ArgumentException"/> if the node was parsed from data that has duplicate
|
||||
keys. Please see https://github.com/dotnet/runtime/issues/70604 for more information.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.ToJsonArray(System.Collections.Generic.IEnumerable{System.Text.Json.Nodes.JsonNode})">
|
||||
<summary>
|
||||
Creates a new <see cref="T:System.Text.Json.Nodes.JsonArray"/> from an enumerable of nodes.
|
||||
</summary>
|
||||
<param name="nodes">The nodes.</param>
|
||||
<returns>A JSON array.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.GetPathFromRoot(System.Text.Json.Nodes.JsonNode,System.Boolean)">
|
||||
<summary>
|
||||
Gets a JSON Path string that indicates the node's location within
|
||||
its JSON structure.
|
||||
</summary>
|
||||
<param name="node">The node to find.</param>
|
||||
<param name="useShorthand">Determines whether shorthand syntax is used when possible, e.g. `$.foo`.</param>
|
||||
<exception cref="T:System.ArgumentNullException">Null nodes cannot be located as the parent cannot be determined.</exception>
|
||||
<returns>
|
||||
A string containing a JSON Path.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.JsonNodeExtensions.GetPointerFromRoot(System.Text.Json.Nodes.JsonNode)">
|
||||
<summary>
|
||||
Gets a JSON Pointer string that indicates the node's location within
|
||||
its JSON structure.
|
||||
</summary>
|
||||
<param name="node">The node to find.</param>
|
||||
<exception cref="T:System.ArgumentNullException">Null nodes cannot be located as the parent cannot be determined.</exception>
|
||||
<returns>
|
||||
A string containing a JSON Pointer.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonNull">
|
||||
<summary>
|
||||
Provides a <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance to use as null.
|
||||
</summary>
|
||||
<remarks>
|
||||
.Net has decided to unify JSON null with .Net null. This decision has a number
|
||||
of consequences. This value is provided to get around some of these issues.
|
||||
|
||||
This class *should not be used as a property value*, but rather as a signal to indicate
|
||||
that null was explicitly passed rather than a property missing.
|
||||
|
||||
See https://github.com/dotnet/runtime/issues/68128 for more information.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Json.More.JsonNull.SignalNode">
|
||||
<summary>
|
||||
Provides a static instance of this class wrapped in a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Json.More.JsonSerializerOptionsExtensions">
|
||||
<summary>
|
||||
Provides extension functionality for <see cref="T:System.Text.Json.JsonSerializerOptions"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<!-- Badly formed XML comment ignored for member "M:Json.More.JsonSerializerOptionsExtensions.GetConverter``1(System.Text.Json.JsonSerializerOptions)" -->
|
||||
<member name="M:Json.More.JsonSerializerOptionsExtensions.Read``1(System.Text.Json.JsonSerializerOptions,System.Text.Json.Utf8JsonReader@)">
|
||||
<summary>
|
||||
Read and convert the JSON to T.
|
||||
</summary>
|
||||
<remarks>
|
||||
A converter may throw any Exception, but should throw <cref>JsonException</cref> when the JSON is invalid.
|
||||
</remarks>
|
||||
<typeparam name="T">The <see cref="T:System.Type"/> to convert.</typeparam>
|
||||
<param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> being used.</param>
|
||||
<param name="reader">The <see cref="T:System.Text.Json.Utf8JsonReader"/> to read from.</param>
|
||||
<returns>The value that was converted.</returns>
|
||||
</member>
|
||||
<member name="T:Json.More.TypeExtensions">
|
||||
<summary>
|
||||
Provides informative methods for types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.TypeExtensions.IsInteger(System.Type)">
|
||||
<summary>
|
||||
Determines whether the type is considered an integer.
|
||||
</summary>
|
||||
<param name="type">The type.</param>
|
||||
<returns>true if it represents an integer; false otherwise.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.TypeExtensions.IsFloatingPoint(System.Type)">
|
||||
<summary>
|
||||
Determines whether the type is a non-integer floating point number.
|
||||
</summary>
|
||||
<param name="type">The type.</param>
|
||||
<returns>true if it represents a floating-point number; false otherwise.</returns>
|
||||
</member>
|
||||
<member name="M:Json.More.TypeExtensions.IsNumber(System.Type)">
|
||||
<summary>
|
||||
Determines whether the type is a number.
|
||||
</summary>
|
||||
<param name="type">The type.</param>
|
||||
<returns>true if it represents a number; false otherwise.</returns>
|
||||
</member>
|
||||
<member name="T:Json.More.Utf8JsonWriterExtensions">
|
||||
<summary>
|
||||
Provides extension functionality for <see cref="T:System.Text.Json.Utf8JsonWriter"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Json.More.Utf8JsonWriterExtensions.WriteValue(System.Text.Json.Utf8JsonWriter,System.Text.Json.JsonElement)">
|
||||
<summary>
|
||||
Writes a <see cref="T:System.Text.Json.JsonElement"/> to the stream.
|
||||
</summary>
|
||||
<param name="writer">The JSON stream writer.</param>
|
||||
<param name="element">The element to write.</param>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not valid.</exception>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Reference in New Issue
Block a user