JSON-ORM
6.1.0
See the version list below for details.
dotnet add package JSON-ORM --version 6.1.0
NuGet\Install-Package JSON-ORM -Version 6.1.0
<PackageReference Include="JSON-ORM" Version="6.1.0" />
<PackageVersion Include="JSON-ORM" Version="6.1.0" />
<PackageReference Include="JSON-ORM" />
paket add JSON-ORM --version 6.1.0
#r "nuget: JSON-ORM, 6.1.0"
#:package JSON-ORM@6.1.0
#addin nuget:?package=JSON-ORM&version=6.1.0
#tool nuget:?package=JSON-ORM&version=6.1.0
SQLJSONReader
An extension to read JSON from SQL server off of a SQLCommand to get data. This package is in Nuget as SQLJsonReader
Usage, include using SQLJSON.Extensions;
for the use and addition of ExecuteJsonReaderAsync
and ExecuteJsonReader
to read JSON
from SQL Server after a stored procedure call returns JSON using the for JSON
.
string result;
using (SqlConnection conn = new SqlConnection(connection))
{
conn.Open();
using (var cmd = new SqlCommand(sproc, conn) { CommandType = CommandType.StoredProcedure,
CommandTimeout = 600 })
{
if (parameters != null)
cmd.Parameters.AddRange(parameters);
var reader = await cmd.ExecuteJsonReaderAsync();
result = await reader.ReadAllAsync();
}
}
See also Json-Orm Nuget Package which uses this package to process its SQL Server derived json into models.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- SQLJSONReader (>= 6.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
6.0 - Put in Json Ignores for properties erroneously being deserialized by the consumer.