Pure.Chart.RichRelationalModel.Abstractions.Serialization.System 0.1.0-preview.3.0.0

This is a prerelease version of Pure.Chart.RichRelationalModel.Abstractions.Serialization.System.
dotnet add package Pure.Chart.RichRelationalModel.Abstractions.Serialization.System --version 0.1.0-preview.3.0.0
                    
NuGet\Install-Package Pure.Chart.RichRelationalModel.Abstractions.Serialization.System -Version 0.1.0-preview.3.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Pure.Chart.RichRelationalModel.Abstractions.Serialization.System" Version="0.1.0-preview.3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Pure.Chart.RichRelationalModel.Abstractions.Serialization.System" Version="0.1.0-preview.3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Pure.Chart.RichRelationalModel.Abstractions.Serialization.System" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Pure.Chart.RichRelationalModel.Abstractions.Serialization.System --version 0.1.0-preview.3.0.0
                    
#r "nuget: Pure.Chart.RichRelationalModel.Abstractions.Serialization.System, 0.1.0-preview.3.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Pure.Chart.RichRelationalModel.Abstractions.Serialization.System@0.1.0-preview.3.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Pure.Chart.RichRelationalModel.Abstractions.Serialization.System&version=0.1.0-preview.3.0.0&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Pure.Chart.RichRelationalModel.Abstractions.Serialization.System&version=0.1.0-preview.3.0.0&prerelease
                    
Install as a Cake Tool

Pure.Chart.RichRelationalModel.Abstractions.Serialization.System

System.Text.Json converters for the Pure.Chart rich relational model abstractions.

.NET build & test Build and Deploy NuGet License: MIT

Overview

Pure.Chart.RichRelationalModel.Abstractions.Serialization.System provides System.Text.Json converters that enable serialization and deserialization of the IChart*RichRelationalModel interfaces defined in Pure.Chart.RichRelationalModel.Abstractions. Each converter maps between JSON and the corresponding interface by using an internal record type that implements the interface.

Converters

Type Converts
ChartRichRelationalModelConverter IChartRichRelationalModel
ChartTypeRichRelationalModelConverter IChartTypeRichRelationalModel
AxisRichRelationalModelConverter IAxisRichRelationalModel
ChartSeriesRichRelationalModelConverter IChartSeriesRichRelationalModel
ChartRichRelationalModelAbstractionsConverters IEnumerable<JsonConverter> containing all four converters above

ChartRichRelationalModelAbstractionsConverters is the entry point — enumerate it to register all converters at once.

A series is written as an object with Id, ChartId, Legend, XAxisSource, YAxisSource and LineType. ChartRichRelationalModelConverter writes each entry of Series in the same shape.

{
  "Id": "4b7f0c1e-2d5a-4c8e-9f3b-6a1d2e3f4a5b",
  "ChartId": "9c8d7e6f-5a4b-4c3d-8e2f-1a0b9c8d7e6f",
  "Legend": "Revenue",
  "XAxisSource": "month",
  "YAxisSource": "revenue",
  "LineType": "dashed"
}

Dependencies

Target Frameworks

  • .NET 7
  • .NET 8
  • .NET 9
  • .NET 10

Installation

dotnet add package Pure.Chart.RichRelationalModel.Abstractions.Serialization.System

Usage

using System.Text.Json;
using Pure.Chart.RichRelationalModel.Abstractions;
using Pure.Chart.RichRelationalModel.Abstractions.Serialization.System;

JsonSerializerOptions options = new JsonSerializerOptions();

foreach (JsonConverter converter in new ChartRichRelationalModelAbstractionsConverters())
{
    options.Converters.Add(converter);
}

string json = JsonSerializer.Serialize(chart, options);
IChartRichRelationalModel deserialized =
    JsonSerializer.Deserialize<IChartRichRelationalModel>(json, options)!;
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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 is compatible.  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 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.3.0.0 67 10/23/2026
0.1.0-preview.2.0.1 239 6/7/2026
0.1.0-preview.2.0.0 135 4/26/2026
0.1.0-preview.1.0.0 162 4/20/2026
0.1.0-preview.0.1.0 167 4/6/2026