PocketCsvReader.Json 2.64.0

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

PocketCsvReader

PocketCsvReader reads CSV and other structured text through forward-only data readers and streaming row outputs. Optional packages support JSON/JSONC, NDJSON, fixed-width, LTSV, logfmt, web logs, and security logs. The projects target .NET 8, 9, and 10.

Documentation · Installation · Contributing

Packages

Package Purpose
PocketCsvReader CSV/TSV and shared APIs
PocketCsvReader.Json JSON and JSONC
PocketCsvReader.Ndjson NDJSON
PocketCsvReader.FixedWidth Fixed character positions
PocketCsvReader.KeyValue LTSV and logfmt
PocketCsvReader.WebLogs Common, Combined, W3C
PocketCsvReader.SecurityLogs CEF and LEEF
PocketCsvReader.Arrow Apache Arrow output
PocketCsvReader.Chrononuensis Temporal period parsers

First example

dotnet add package PocketCsvReader
using System.Text;
using PocketCsvReader.Configuration;

var csv = new CsvReaderBuilder()
    .WithDialect(d => d.WithHeader().WithLineTerminator("\n"))
    .Build();
using var stream = new MemoryStream(Encoding.UTF8.GetBytes("Id,Name\n1,Ada\n"));
using var reader = csv.ToDataReader(stream);
while (reader.Read())
    Console.WriteLine($"{reader.GetInt32(0)}: {reader.GetString(1)}");
// 1: Ada

See output models, reader filtering, object mapping, async reading, inference, and performance guidance for complete behavior and limitations.

Shared ownership, null, conversion, and performance contracts have their authoritative home in the documentation rather than duplicated README sections.

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 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 (2)

Showing the top 2 NuGet packages that depend on PocketCsvReader.Json:

Package Downloads
PocketCsvReader.Ndjson

PocketCsvReader.Ndjson is a lightweight library that extends PocketCsvReader to parse NDJSON (Newline Delimited JSON) files. Its main function is to read each JSON object line by line and expose the data through an IDataReader, mapping JSON properties to fields based on the object structure and an optional schema. It is designed for high performance and simplicity when processing large streams of structured JSON data.

PocketCsvReader.Arrow.ColumnarJson

Reads column-oriented JSON formats as Apache Arrow record batches.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.78.1 0 11/19/2026
2.78.0 0 11/18/2026
2.77.0 56 11/18/2026
2.76.1 105 11/13/2026
2.76.0 87 11/13/2026
2.75.1 83 11/13/2026
2.75.0 97 11/12/2026
2.74.1 94 11/12/2026
2.74.0 92 11/12/2026
2.73.0 123 11/11/2026
2.72.0 114 11/11/2026
2.71.1 127 11/10/2026
2.71.0 114 11/10/2026
2.70.0 112 11/10/2026
2.69.0 122 11/10/2026
2.68.0 114 11/10/2026
2.67.0 122 11/9/2026
2.66.0 106 11/9/2026
2.65.0 106 11/9/2026
2.64.0 108 11/9/2026
Loading failed