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.
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" />
<PackageReference Include="FluxJson.Core" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=FluxJson.Core&version=0.1.0-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FluxJson ๐
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 | Versions 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.
-
net8.0
- System.Memory (>= 4.5.5)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
- System.Text.Json (>= 9.0.0-preview.7.24405.7)
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 |