Datafication.JsonConnector 1.0.9

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

Datafication.JsonConnector

High-performance JSON file and API connector for Datafication DataBlocks.

Key Features

  • Multiple Sources: Load from local files, relative paths, or remote URLs (HTTP/HTTPS)
  • Automatic Schema Inference: Intelligent column type detection from JSON content
  • Nested Structure Support: Handles complex nested JSON objects and arrays
  • Streaming Support: Batch loading for large JSON files via GetStorageDataAsync
  • JSON Export: Convert DataBlocks back to JSON format
  • Async Operations: Full async/await support for non-blocking I/O
  • Error Handling: Global error handler configuration

Installation

dotnet add package Datafication.JsonConnector

Quick Start

using Datafication.Extensions.Connectors.JsonConnector;
using Datafication.Sinks.Connectors.JsonConnector;

// Load JSON with shorthand method
var data = await DataBlock.Connector.LoadJsonAsync("data/employees.json");

// Load from remote API
var apiData = await DataBlock.Connector.LoadJsonAsync("https://api.example.com/users");

// Load with full configuration
var config = new JsonConnectorConfiguration
{
    Source = new Uri("file:///data/sales.json"),
    ErrorHandler = (ex) => Console.WriteLine($"Error: {ex.Message}")
};
var connector = new JsonDataConnector(config);
var salesData = await connector.GetDataAsync();

// Export DataBlock to JSON
var jsonString = await data.JsonStringSinkAsync();

Documentation

For samples, usage examples, and source code, visit our GitHub repository: github.com/DataficationSDK/Datafication.JsonConnector

If you find this library useful, consider giving it a star!

For full API documentation and guides: datafication.co

License

Licensed under the Datafication SDK License Agreement.

  • Free: <5 developers AND <$500K annual revenue
  • Commercial license required: 5+ developers OR >$500K annual revenue

For licensing inquiries: support@datafication.co

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

Showing the top 1 NuGet packages that depend on Datafication.JsonConnector:

Package Downloads
Datafication.S3Connector

AWS S3 and S3-compatible storage connector for Datafication DataBlocks

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.9 76 1/24/2026