FluxJson.Core 0.1.0-alpha

This is a prerelease version of FluxJson.Core.
There is a newer version of this package available.
See the version list below for details.
dotnet add package FluxJson.Core --version 0.1.0-alpha
                    
NuGet\Install-Package FluxJson.Core -Version 0.1.0-alpha
                    
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="FluxJson.Core" Version="0.1.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluxJson.Core" Version="0.1.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="FluxJson.Core" />
                    
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 FluxJson.Core --version 0.1.0-alpha
                    
#r "nuget: FluxJson.Core, 0.1.0-alpha"
                    
#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 FluxJson.Core@0.1.0-alpha
                    
#: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=FluxJson.Core&version=0.1.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FluxJson.Core&version=0.1.0-alpha&prerelease
                    
Install as a Cake Tool

FluxJson ๐Ÿš€

Build Status NuGet Version License: MIT

Modern, high-performance JSON serialization library for .NET with a fluent API design.

โœจ Features

  • ๐Ÿš€ High Performance: Zero-allocation paths with Span<T> and SIMD optimizations
  • ๐ŸŽฏ Fluent API: Intuitive, chainable method design
  • โšก Source Generators: Compile-time optimizations
  • ๐Ÿ”ง Highly Configurable: Fine-grained control over serialization behavior
  • ๐Ÿงช Well Tested: Comprehensive test suite with benchmarks
  • ๐Ÿ“ฆ Modern .NET: Built for .NET 8+ with latest C# features

๐Ÿš€ Quick Start

using FluxJson;

// Simple serialization
var json = Json.From(myObject).ToJson();

// Fluent configuration
var result = Json.From(user)
    .Configure(c => c
        .UseNaming(NamingStyle.CamelCase)
        .HandleNulls(NullStrategy.Omit)
        .FormatDates("yyyy-MM-dd"))
    .ToJson();

// Deserialization
var user = Json.Parse(jsonString).To();

๐Ÿ“Š Performance

FluxJson is designed to be faster than existing solutions:

Library Serialize (ops/sec) Deserialize (ops/sec) Memory (KB)
FluxJson ๐Ÿ”ฅ Coming soon ๐Ÿ”ฅ Coming soon ๐Ÿ”ฅ Coming soon
System.Text.Json Baseline Baseline Baseline
Newtonsoft.Json ~50% slower ~40% slower ~2x more

๐Ÿ—๏ธ Architecture

FluxJson.Core/           # Core serialization engine
โ”œโ”€โ”€ Serializers/         # Type-specific serializers  
โ”œโ”€โ”€ Converters/          # Custom type converters
โ”œโ”€โ”€ Configuration/       # Fluent configuration API
โ”œโ”€โ”€ Memory/             # Memory management & pooling
โ””โ”€โ”€ SourceGeneration/   # Compile-time optimizations

๐ŸŽฏ Roadmap

  • Project setup and architecture
  • Core serialization engine
  • Fluent API implementation
  • Performance optimizations
  • Source generator integration
  • Comprehensive benchmarks
  • Documentation and samples

๐Ÿค Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

๐Ÿ“„ License

This project is licensed under the MIT License - see LICENSE file for details.


**Built with โค๏ธ for the .

Product Compatible and additional computed target framework versions.
.NET 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 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. 
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.1 211 9/3/2025
0.1.0-alpha 181 8/31/2025