TLio.Json.SystemText 0.8.0

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

TLio.Json.SystemText

The System.Text.Json adapter for TLioINodeAdapter<JsonNode> and IItemsFetcher<JsonNode> implementations backed by System.Text.Json.Nodes and RFC 9535 JSONPath (JsonCons.JsonPath).

Newtonsoft.Json is not referenced. Transformation behaviour is identical to TLio.Json.

dotnet add package TLio.Json.SystemText
dotnet add package TLio.Client

Quick start

using System.Text.Json.Nodes;
using TLio.Client;
using TLio.Json.SystemText;

var data   = JsonNode.Parse("""{ "name": "Acme", "tempId": 7 }""");
var script = """
[
  { "command": "put",    "path": "$.status", "value": "active" },
  { "command": "remove", "path": "$.tempId" }
]
""";

var options = ParseOptions<JsonNode>.CreateDefault();
var engine  = new ScriptEngine<JsonNode>(options.CommandsProvider, options.FunctionsProvider);

var result = engine.Execute(script, data, SystemTextJsonExecutionContext.CreateDefault());

Path language

RFC 9535 JSONPath — strict, standards-compliant:

$.customer.name
$.orders[*].total
$.orders[?(@.total > 100)]

Script expressions (()) are not supported; use TLio.Json if you need them.

License

MIT — see the repository.

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

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
0.9.0-preview.5 0 8/21/2026
0.9.0-preview.4 0 8/21/2026
0.8.0 35 8/20/2026
0.1.0-preview.22 23 8/20/2026
0.1.0-preview.21 23 8/20/2026
0.1.0-preview.19 26 8/20/2026
0.1.0-preview.18 26 8/20/2026
0.1.0-preview.17 33 8/20/2026
0.1.0-preview.16 40 8/19/2026
0.1.0-preview.15 37 8/18/2026
0.1.0-preview.14 39 8/18/2026
0.1.0-preview.13 34 8/18/2026
0.1.0-preview.12 70 5/4/2026
0.1.0-preview.11 63 5/2/2026
0.1.0-preview.10 71 4/26/2026
0.1.0-preview.9 74 4/26/2026
0.1.0-preview.8 70 4/23/2026
0.1.0-preview.7 67 4/23/2026
0.1.0-preview.6 72 4/23/2026
0.1.0-preview.4 77 4/22/2026
Loading failed