FluxFlow.Components.Serialization
3.0.1
See the version list below for details.
dotnet add package FluxFlow.Components.Serialization --version 3.0.1
NuGet\Install-Package FluxFlow.Components.Serialization -Version 3.0.1
<PackageReference Include="FluxFlow.Components.Serialization" Version="3.0.1" />
<PackageVersion Include="FluxFlow.Components.Serialization" Version="3.0.1" />
<PackageReference Include="FluxFlow.Components.Serialization" />
paket add FluxFlow.Components.Serialization --version 3.0.1
#r "nuget: FluxFlow.Components.Serialization, 3.0.1"
#:package FluxFlow.Components.Serialization@3.0.1
#addin nuget:?package=FluxFlow.Components.Serialization&version=3.0.1
#tool nuget:?package=FluxFlow.Components.Serialization&version=3.0.1
FluxFlow.Components.Serialization
Reusable serialization and encoding components for FluxFlow.
Nodes
| Node type | Shape | Purpose |
|---|---|---|
json.parse |
Input → Output, Errors |
Parses text or bytes into a JSON result. |
json.stringify |
Input → Output, Errors |
Serializes a value into JSON text and bytes. |
text.encode |
Input → Output, Errors |
Encodes text into bytes. |
text.decode |
Input → Output, Errors |
Decodes bytes into text. |
base64.encode |
Input → Output, Errors |
Encodes bytes or text into base64 text. |
base64.decode |
Input → Output, Errors |
Decodes base64 text into bytes and optional text. |
Configuration
Each node supports the same basic safety options:
{
"type": "json.parse",
"name": "parse",
"boundedCapacity": 128,
"defaultEncoding": "utf-8",
"maxInputBytes": 1048576,
"maxOutputBytes": 1048576,
"writeIndented": false,
"allowTrailingCommas": false,
"skipComments": false
}
Per-message failures emit FlowError values on the Errors port and the node
continues with later messages. Size limits are enforced before large inputs or
outputs are forwarded.
Examples
new JsonParseRequest
{
Text = """{"ok":true}"""
};
new Base64DecodeRequest
{
Text = "aGVsbG8=",
DecodeText = true
};
Direct Use
await using var node = new JsonParseNode(
new SerializationNodeOptions { AllowTrailingCommas = true });
Each node is standalone: create it with SerializationNodeOptions and an
optional TimeProvider, post FlowMessage<TRequest> to Input, and link
Output, Errors, or Events to the next stage.
Composition
The optional FluxFlow.Components.Serialization.Composition package registers
serialization factories for FluxFlow.Composition. It binds the existing
SerializationNodeOptions from node configuration and resolves an optional
host-owned keyed TimeProvider resource.
services
.AddFluxFlowComposition(configuration)
.RegisterNodes(registry => registry
.RegisterJsonParse()
.RegisterJsonStringify()
.RegisterTextEncode()
.RegisterTextDecode()
.RegisterBase64Encode()
.RegisterBase64Decode());
The request/result CLR types are fixed by the serialization contracts; no type alias or string-to-type resolution is needed. Encoding fallback, JSON parsing, and size limits remain normal node options rather than composition-owned resource behavior.
| 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 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. |
-
net10.0
- FluxFlow.Nodes (>= 1.2.0)
-
net8.0
- FluxFlow.Nodes (>= 1.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FluxFlow.Components.Serialization:
| Package | Downloads |
|---|---|
|
FluxFlow.Components.Serialization.Composition
FluxFlow.Composition registration and Designer metadata for explicit FlowContent, JSON, text, and Base64 conversions. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.0.0-rc.1 | 73 | 9/5/2026 |
| 6.0.0 | 180 | 8/3/2026 |
| 3.0.1 | 140 | 7/3/2026 |
| 3.0.0 | 169 | 6/19/2026 |
| 1.2.0 | 420 | 6/12/2026 |
| 1.1.0 | 116 | 6/5/2026 |
| 1.0.0 | 118 | 6/4/2026 |
| 0.1.1-alpha.1 | 243 | 6/2/2026 |
| 0.1.0-alpha.1 | 107 | 6/1/2026 |
Adds the shared FluxFlow package icon. No source, API, or dependency changes.