aqua - aqua-core-text-json 5.4.0-alpha-002
Provides System.Text.Json serialization for Aqua types.
PM> Install-Package aqua-core-text-json -Version 5.4.0-alpha-002 -Source https://www.myget.org/F/aqua/api/v3/index.json
> nuget.exe install aqua-core-text-json -Version 5.4.0-alpha-002 -Source https://www.myget.org/F/aqua/api/v3/index.json
> dotnet add package aqua-core-text-json --version 5.4.0-alpha-002 --source https://www.myget.org/F/aqua/api/v3/index.json
source https://www.myget.org/F/aqua/api/v3/index.json
nuget aqua-core-text-json ~> 5.4.0-alpha-002
Copy to clipboard
> choco install aqua-core-text-json --version 5.4.0-alpha-002 --source https://www.myget.org/F/aqua/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "aqua" -SourceLocation "https://www.myget.org/F/aqua/api/v2"
Install-Module -Name "aqua-core-text-json" -RequiredVersion "5.4.0-alpha-002" -Repository "aqua" -AllowPreRelease
Copy to clipboard
Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/aqua/api/v2/symbolpackage/
aqua-core
branch | AppVeyor | Travis CI | Codecov.io | Codacy | CodeFactor |
---|---|---|---|---|---|
main |
package | nuget | myget |
---|---|---|
aqua-core |
||
aqua-core-newtonsoft-json |
||
aqua-core-protobuf-net |
||
aqua-core-text-json |
Transform any object-graph into a dynamic, composed dictionaries like structure, holding serializable values and type information.
Aqua-core provides a bunch of serializable classes:
DynamicObject
TypeInfo
FieldInfo
PropertyInfo
MethodInfo
ConstructorInfo
Any object graph may be translated into a DynamicObject
structure and back to it's original type using DynamicObjectMapper
.
Sample
Mapping an object graph into a DynamicObject
and then back to it's original type
Blog blog = new Blog
{
Title = ".NET Blog",
Description = "A first-hand look from the .NET engineering teams",
Posts = new[]
{
new Post
{
Title = "Announcing .NET Core 1.0",
Date = new DateTime(2016, 6, 27),
Author = "rlander"
Text = "We are excited to announce the release of .NET Core 1.0, ASP.NET Core 1.0 and " +
"Entity Framework Core 1.0, available on Windows, OS X and Linux! " +
".NET Core is a cross-platform, open source, and modular .NET platform [...]",
},
new Post
{
Title = "Happy 15th Birthday .NET!",
Date = new DateTime(2017, 2, 13),
Author = "bmassi",
Text = "Today marks the 15th anniversary since .NET debuted to the world [...]",
}
}
}
DynamicObject dynamicObject = new DynamicObjectMapper().MapObject(blog);
Blog restoredBlog = new DynamicObjectMapper().Map(dynamicObject) as Blog;
-
.NETFramework 6.0
- aqua-core (>= 5.4.0-alpha-002)
- System.Text.Json (>= 8.0.0)
-
.NETStandard 2.0
- aqua-core (>= 5.4.0-alpha-002)
- System.Text.Json (>= 8.0.0)
- .NETFramework 6.0: 6.0.0.0
- .NETStandard 2.0: 2.0.0.0
OwnersChristof Senn |
AuthorsChristof Senn |
Project URLhttps://github.com/6bee/aqua-core |
LicenseUnknown |
Tagsaqua-core json system-text-json |
Info790 total downloads |
22 downloads for version 5.4.0-alpha-002 |
Download (63.29 KB) |
Download symbols (93.53 KB) |
Found on the current feed only |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
5.4.1 | 62.77 KB | Wed, 10 Jul 2024 12:14:35 GMT | 15 | ||||
5.4.0 | 62.75 KB | Tue, 04 Jun 2024 13:32:20 GMT | 14 | ||||
5.4.0-beta-001 | 62.82 KB | Tue, 30 Apr 2024 23:55:10 GMT | 8 | ||||
5.4.0-alpha-005 | 62.82 KB | Tue, 23 Apr 2024 07:24:51 GMT | 8 | ||||
5.4.0-alpha-004 | 62.82 KB | Mon, 29 Jan 2024 10:02:33 GMT | 10 | ||||
5.4.0-alpha-002 | 63.29 KB | Wed, 13 Dec 2023 09:42:33 GMT | 22 | ||||
5.4.0-alpha-001 | 63.29 KB | Wed, 06 Dec 2023 14:21:34 GMT | 23 | ||||
5.3.0 | 46.95 KB | Thu, 14 Sep 2023 02:19:51 GMT | 9 | ||||
5.3.0-alpha-005 | 46.98 KB | Mon, 28 Aug 2023 21:54:24 GMT | 9 | ||||
5.3.0-alpha-004 | 46.97 KB | Mon, 21 Aug 2023 22:08:27 GMT | 7 | ||||
5.3.0-alpha-002 | 44.3 KB | Mon, 31 Jul 2023 22:21:58 GMT | 7 | ||||
5.3.0-alpha-001 | 44.32 KB | Wed, 29 Mar 2023 17:09:43 GMT | 78 | ||||
5.2.0 | 44.26 KB | Fri, 11 Nov 2022 13:30:07 GMT | 25 | ||||
5.2.0-alpha-001 | 44.33 KB | Wed, 26 Oct 2022 14:36:02 GMT | 29 | ||||
5.0.0 | 44.46 KB | Wed, 29 Sep 2021 16:00:01 GMT | 526 |