![]() |
VOOZH | about |
dotnet add package Neuroglia.Data.Expressions.JQ --version 4.24.0
NuGet\Install-Package Neuroglia.Data.Expressions.JQ -Version 4.24.0
<PackageReference Include="Neuroglia.Data.Expressions.JQ" Version="4.24.0" />
<PackageVersion Include="Neuroglia.Data.Expressions.JQ" Version="4.24.0" />Directory.Packages.props
<PackageReference Include="Neuroglia.Data.Expressions.JQ" />Project file
paket add Neuroglia.Data.Expressions.JQ --version 4.24.0
#r "nuget: Neuroglia.Data.Expressions.JQ, 4.24.0"
#:package Neuroglia.Data.Expressions.JQ@4.24.0
#addin nuget:?package=Neuroglia.Data.Expressions.JQ&version=4.24.0Install as a Cake Addin
#tool nuget:?package=Neuroglia.Data.Expressions.JQ&version=4.24.0Install as a Cake Tool
A .NET package to evaluate expressions using jq. This library integrates jq with .NET applications, making it simple to work with JSON data transformations and expressions.
dotnet add package Neuroglia.Data.Expressions.JQ
jq is installed:apt-get update
apt-get install jq -y
For other systems, refer to the official jq installation guide.
Optionally, configure the JQ Expression Evaluator in your application's Dependency Injection (DI) container:
services.AddJQExpressionEvaluator(options =>
{
options.UseSerializer<MyJsonSerializerImplementation>(); // Optional: Defaults to the first registered `IJsonSerializer`
}, ServiceLifetime.Singleton);
After setup, you can start using the evaluator to process expressions.
var defaultEvaluator = serviceProvider.GetRequiredService<IExpressionEvaluator>();
var explicitEvaluator = serviceProvider.GetRequiredService<IExpressionEvaluatorProvider>().GetEvaluator("jq");
var expression = "{ \"foo\": .foo, \"bar\": $param1.bar }";
var input = new
{
foo = "bar"
};
var arguments = new Dictionary<string, object>()
{
{
"param1",
new
{
bar = "baz"
}
}
};
var result = await defaultEvaluator.EvaluateAsync(expression, input, arguments, typeof(MyResult));
public class MyResult
{
public string Foo { get; set; }
public string Bar { get; set; }
}
jq tool with .NET applications.jq is installed on your system.Feel free to contribute to this project! Please submit issues, feature requests, or pull requests on the GitHub repository.
This project is licensed under the Apache 2.0 license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 3 NuGet packages that depend on Neuroglia.Data.Expressions.JQ:
| Package | Downloads |
|---|---|
|
CloudStreams.Core.Api
Package Description |
|
|
CloudStreams.Gateway.Api
Package Description |
|
|
CloudStreams.Broker.Api
Package Description |
Showing the top 1 popular GitHub repositories that depend on Neuroglia.Data.Expressions.JQ:
| Repository | Stars |
|---|---|
|
serverlessworkflow/synapse
Serverless Workflow Management System (WFMS)
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.24.0 | 483 | 8/18/2025 |
| 4.23.1 | 913 | 6/19/2025 |
| 4.23.0 | 427 | 6/11/2025 |
| 4.22.0 | 312 | 5/26/2025 |
| 4.21.0 | 421 | 4/2/2025 |
| 4.20.1 | 316 | 3/14/2025 |
| 4.20.0 | 307 | 3/12/2025 |
| 4.19.5 | 339 | 3/3/2025 |
| 4.19.4 | 259 | 2/27/2025 |
| 4.19.3 | 275 | 2/21/2025 |
| 4.19.2 | 845 | 2/3/2025 |
| 4.19.1 | 649 | 1/31/2025 |
| 4.19.0 | 291 | 1/24/2025 |
| 4.18.1 | 857 | 12/10/2024 |
| 4.18.0 | 324 | 12/10/2024 |
| 4.16.2 | 361 | 11/20/2024 |
| 4.16.1 | 250 | 11/18/2024 |
| 4.16.0 | 342 | 11/14/2024 |
| 4.15.9 | 254 | 11/14/2024 |
| 4.15.8 | 734 | 10/11/2024 |