Bodu.Text.Formats 1.0.0

dotnet add package Bodu.Text.Formats --version 1.0.0
                    
NuGet\Install-Package Bodu.Text.Formats -Version 1.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="Bodu.Text.Formats" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bodu.Text.Formats" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Bodu.Text.Formats" />
                    
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 Bodu.Text.Formats --version 1.0.0
                    
#r "nuget: Bodu.Text.Formats, 1.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 Bodu.Text.Formats@1.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=Bodu.Text.Formats&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Bodu.Text.Formats&version=1.0.0
                    
Install as a Cake Tool

Bodu.Text.Formats

API stability — Stable. The public API surface is committed; breaking changes are reserved for a major-version bump per SemVer.

Umbrella meta-package. This package carries no code of its own — it references the three standalone line-format libraries so a single package reference brings in all of them.

The Bodu line-oriented text formats on .NET 8, each a self-contained library shaped after System.Text.Json:

Format Package Token surface Serializer DOMs
Delimited (RFC 4180 CSV / TSV) Bodu.Text.Delimited Utf8DelimitedReader / Utf8DelimitedWriter DelimitedSerializer DelimitedNode (mutable) / DelimitedDocument (read-only)
DotEnv Bodu.Text.DotEnv Utf8DotEnvReader / Utf8DotEnvWriter DotEnvSerializer DotEnvNode (mutable) / DotEnvDocument (read-only)
INI Bodu.Text.Ini Utf8IniReader / Utf8IniWriter (+ normalized IniDocumentReader) IniSerializer IniNode (mutable, comment-preserving) / IniDocument (read-only)

Installation

dotnet add package Bodu.Text.Formats

Targets net8.0. To depend on a single format, reference its package directly instead — for example dotnet add package Bodu.Text.Delimited.

API shape

Every format follows the same quartet:

using Bodu.Text.Delimited;
using Bodu.Text.Delimited.Document;

// Read-only document (JsonDocument-shaped).
using DelimitedDocument doc = DelimitedDocument.Parse(csvBytes);
string symbol = doc.RootElement[0].GetProperty("symbol").GetString();

// Typed records via the serializer (JsonSerializer-shaped).
List<Trade> trades = DelimitedSerializer.Deserialize<Trade>(csvText);
string back = DelimitedSerializer.Serialize(trades);

The forward-only Utf8*Reader / Utf8*Writer pairs cover token-level streaming, and the mutable *Node DOMs cover authoring — the INI node tree additionally preserves comment trivia for faithful round trips of human-owned files.

See the per-package READMEs and the samples under samples/Text.Formats/ for full walkthroughs.

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 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
1.0.0 45 9/24/2026
0.7.0 88 9/24/2026
0.6.0 60 9/24/2026
0.5.0 66 9/23/2026