JTran 3.2.0

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

JTran

JTran is a .Net Standard Library for doing JSON to JSON transformations.

JTran is heavily influenced by XSLT but whereas XSLT does XML to XML transformations, JTran does JSON to JSON transformations.

Getting started

Installing via NuGet
Install-Package JTran

A transform is a JSON file that contains JTran processing instructions. To transform a source JSON document you provide the source JSON and the transform:

public class JTranSample
{
    public string Transform(string transform, string source)
    {
        var transformer = new JTran.Transformer(transform1);
        var context     = new TransformContext { Arguments = new Dictionary<string, object>() };

        return transformer.Transform(source, context);
    }
}

Note: The transformer would benefit from caching so creating the transformer each time would be inefficient.

<br>

<strong>Language Reference</strong>

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
4.8.3 563 3/6/2025
4.8.2 158 3/2/2025
4.8.1 165 2/22/2025
4.8.0 151 2/22/2025
4.7.0 139 2/16/2025
4.6.1 160 2/9/2025
4.6.0 149 1/19/2025
4.5.1 170 10/27/2024
4.5.0 214 10/18/2024
4.1.2 199 9/14/2024
4.1.1 172 6/15/2024
4.1.0 179 4/28/2024
4.0.0 192 4/1/2024
3.4.2 3,362 12/28/2023
3.4.1 530 12/11/2023
3.4.0 177 12/7/2023
3.3.3 741 11/5/2023
3.3.2 335 10/25/2023
3.3.1 185 10/24/2023
3.2.0 203 8/3/2023
3.1.6 1,402 6/26/2023
3.1.5 341 6/5/2023
3.1.4 856 3/6/2023
3.1.3 562 2/6/2023
3.1.2 395 2/6/2023
3.1.1 1,019 10/18/2022
3.1.0 631 8/18/2022
3.0.0 23,185 2/19/2022
2.4.0 908 12/6/2020
2.3.1 588 11/2/2020
2.3.0 575 10/25/2020
2.2.1 571 10/21/2020
2.2.0 612 10/21/2020
2.1.1 657 10/14/2020
2.1.0 676 10/11/2020
2.0.4 669 10/7/2020
2.0.3 655 10/6/2020
2.0.2 714 10/6/2020
2.0.1 661 10/5/2020
2.0.0 703 10/5/2020
1.3.0 605 10/1/2020
1.2.0 772 7/26/2020
1.1.0 655 6/21/2020
1.0.2 696 6/15/2020
1.0.1 638 6/14/2020
1.0.0 611 6/2/2020