NextGetPowerToys.Json.Transform 1.0.0-alpha.5

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

NextGenPowerToys.Json.Transform

⚠️ ALPHA VERSION - FOR TESTING PURPOSES ONLY ⚠️

A powerful .NET JSON transformation engine that maps source JSON data to target JSON structures using configurable transformation templates.

🚀 Quick Start

using Json.Transform.Core;

var sourceJson = """
{
    "user": {
        "name": "John Doe",
        "age": 25,
        "email": "john@example.com"
    }
}
""";

var templateJson = """
{
    "mappings": [
        {
            "from": "$.user.name",
            "to": "$.customer.fullName"
        },
        {
            "from": "$.user.email",
            "to": "$.customer.contactInfo.email"
        }
    ]
}
""";

var transformer = new JsonTransformer();
var result = transformer.Transform(sourceJson, templateJson);

✨ Features

  • 🔄 Field Mapping: Copy/move fields between JSON structures
  • 📊 Aggregation: Sum, average, min, max operations on arrays
  • 🎯 Conditional Logic: If/else conditions with complex expressions
  • 🧮 Math Operations: Arithmetic operations on numeric fields
  • 🔗 String Concatenation: Combine multiple fields with templates
  • 📝 Constants: Inject static values (timestamps, GUIDs, etc.)
  • 🏗️ Nested Transformations: Deep object structure mapping
  • High Performance: Built on System.Text.Json for speed

📦 Installation

dotnet add package NextGenPowerToys.Json.Transform --version 1.0.0-alpha

🎮 Interactive Playground

Try the live playground at: https://github.com/NextGenPowerToys/dotnet-json-transform

⚠️ Alpha Release Warning

This is an experimental alpha version for testing and feedback purposes. Not recommended for production use.

📚 Documentation

For complete documentation, examples, and API reference, visit: https://github.com/NextGenPowerToys/dotnet-json-transform

🛠️ Target Framework

  • .NET 9.0

📄 License

MIT License - see LICENSE for details.


Built with ❤️ by NextGenPowerToys

Product Compatible and additional computed target framework versions.
.NET 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 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

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-alpha.5 116 7/15/2025

⚠️ ALPHA RELEASE - TESTING ONLY ⚠️ Alpha release with package README included. This version includes complete documentation in the NuGet package. This is an experimental version for testing and feedback purposes. Not recommended for production use.