![]() |
VOOZH | about |
dotnet add package Simplify.Web.Json --version 2.4.2
NuGet\Install-Package Simplify.Web.Json -Version 2.4.2
<PackageReference Include="Simplify.Web.Json" Version="2.4.2" />
<PackageVersion Include="Simplify.Web.Json" Version="2.4.2" />Directory.Packages.props
<PackageReference Include="Simplify.Web.Json" />Project file
paket add Simplify.Web.Json --version 2.4.2
#r "nuget: Simplify.Web.Json, 2.4.2"
#:package Simplify.Web.Json@2.4.2
#addin nuget:?package=Simplify.Web.Json&version=2.4.2Install as a Cake Addin
#tool nuget:?package=Simplify.Web.Json&version=2.4.2Install as a Cake Tool
👁 Nuget Version
👁 Nuget Download
👁 Build Package
👁 Libraries.io dependency status for latest release
👁 CodeFactor Grade
👁 Platform
Simplify.Web.Json is a package which provides JSON serialization/deserialization for Simplify.Web web-framework controllers using Newtonsoft.Json.
If the controller returns Json response class object, then the Framework execution will be stopped, object will be parsed to JSON string and sent to client
public class MyController : Controller2
{
public ControllerResponse Invoke()
{
...
return new Json(myObj);
}
}
public void Configuration(IApplicationBuilder app)
{
...
HttpModelHandler.RegisterModelBinder<JsonModelBinder>();
app.UseSimplifyWeb();
}
public void ConfigureServices(IServiceCollection services)
{
...
HttpModelHandler.ModelBindersTypes.Clear(); // This is required to remove built-in JSON model binder (based on System.Text.Json)
DIContainer.Current.RegisterJsonModelBinder();
...
}
public class MyController : Controller2<MyModel>
{
public async Task<ControllerResponse> Invoke()
{
await ReadModelAsync();
Model.
}
}
JSON string will be deserialized to the controller model on first model access
public class MyController : Controller2<MyModel>
{
public ControllerResponse Invoke()
{
Model.
}
}
There are many ways in which you can participate in the project. Like most open-source software projects, contributing code is just one of many outlets where you can help improve. Some of the things that you could help out with are:
Additional extensions to Simplify.Web live in their own repositories on GitHub. For example:
Licensed under the GNU Lesser General Public License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.4.2 | 49 | 6/26/2026 |
| 2.4.1 | 351 | 11/25/2025 |
| 2.4.0 | 648 | 6/5/2024 |
| 2.4.0-pre01 | 224 | 6/1/2024 |
| 2.3.1 | 720 | 12/20/2023 |
| 2.3.0 | 378 | 8/20/2023 |
| 2.2.5 | 533 | 3/11/2023 |
| 2.2.4 | 574 | 11/30/2022 |
| 2.2.3 | 848 | 5/18/2022 |
| 2.2.2 | 5,771 | 11/24/2021 |
| 2.2.1 | 793 | 4/26/2021 |
| 2.2.0 | 725 | 3/23/2021 |
| 2.1.3 | 700 | 2/28/2021 |
| 2.1.2 | 879 | 10/26/2020 |
| 2.1.1 | 947 | 4/29/2020 |
| 2.1.0 | 877 | 1/30/2020 |
| 2.0.1 | 846 | 1/27/2020 |
| 2.0.0 | 902 | 12/22/2019 |
| 2.0.0-pre02 | 655 | 12/17/2019 |
| 1.4.0 | 948 | 10/21/2019 |