aqua - aqua-core-newtonsoft-json 5.3.0

Provides Json.NET serialization for Aqua types.

PM> Install-Package aqua-core-newtonsoft-json -Version 5.3.0 -Source https://www.myget.org/F/aqua/api/v3/index.json

Copy to clipboard

> nuget.exe install aqua-core-newtonsoft-json -Version 5.3.0 -Source https://www.myget.org/F/aqua/api/v3/index.json

Copy to clipboard

> dotnet add package aqua-core-newtonsoft-json --version 5.3.0 --source https://www.myget.org/F/aqua/api/v3/index.json

Copy to clipboard
<PackageReference Include="aqua-core-newtonsoft-json" Version="5.3.0" />
Copy to clipboard
source https://www.myget.org/F/aqua/api/v3/index.json

nuget aqua-core-newtonsoft-json  ~> 5.3.0
Copy to clipboard

> choco install aqua-core-newtonsoft-json --version 5.3.0 --source https://www.myget.org/F/aqua/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "aqua" -SourceLocation "https://www.myget.org/F/aqua/api/v2"
Install-Module -Name "aqua-core-newtonsoft-json" -RequiredVersion "5.3.0" -Repository "aqua" 
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

Github Workflow

branch AppVeyor Travis CI Codecov.io Codacy CodeFactor License
main AppVeyor Build Status Travis Build Status codecov Codacy Badge CodeFactor GitHub license
package nuget myget
aqua-core NuGet Badge MyGet Pre Release
aqua-core-newtonsoft-json NuGet Badge MyGet Pre Release
aqua-core-protobuf-net NuGet Badge MyGet Pre Release
aqua-core-text-json NuGet Badge MyGet Pre Release

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.3.0)
    • Newtonsoft.Json (>= 13.0.3)
  • .NETStandard 2.0
    • aqua-core (>= 5.3.0)
    • Newtonsoft.Json (>= 13.0.3)
  • .NETFramework 6.0: 6.0.0.0
  • .NETStandard 2.0: 2.0.0.0

Owners

Christof Senn

Authors

Christof Senn

Project URL

https://github.com/6bee/aqua-core

License

MIT

Tags

aqua-core json-net newtonsoft-json

Info

103 total downloads
67 downloads for version 5.3.0
Download (43.13 KB)
Download symbols (67.24 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
5.4.0-beta-001 59.24 KB Tue, 30 Apr 2024 23:55:09 GMT 1
5.4.0-alpha-005 59.24 KB Tue, 23 Apr 2024 07:24:49 GMT 0
5.4.0-alpha-004 59.24 KB Mon, 29 Jan 2024 10:02:32 GMT 2
5.4.0-alpha-002 59.68 KB Wed, 13 Dec 2023 09:42:31 GMT 15
5.4.0-alpha-001 59.71 KB Wed, 06 Dec 2023 14:21:33 GMT 18
5.3.0 43.13 KB Thu, 14 Sep 2023 02:19:47 GMT 67