dotnet-jdt is a cross-platform .NET Core 2.1 or later global tool for applying JSON Document Transformation
.NET Core 2.1 introduces the concept of global tools,
meaning that you can install dotnet-jdt using the .NET CLI and use it everywhere. One advantage of this approach
is that you can use the same command, for both installation and usage, across all platforms.
⚠️ To use global tools, .Net Core SDK 2.1.300 or later is required.
Install dotnet-jdt as a global tool (only once):
dotnet tool install --global dotnet-jdt --version 1.0.0And then you can apply XDT transforms, from the command-line, anywhere on your PC, e.g.:
dotnet jdt --source original.json --transform delta.json --output final.json