JsonLogic 5.5.0 (original) (raw)

Summary

JsonLogic implements the JSON Logic format, a declarative, data-driven way to define rules.

Usage

var rule = JsonNode.Parse(
    """
    {
      "and": [
        { "<": [{ "var": "temp" }, 110 ]},
        { "==": [{ "var": "pie.filling" }, "apple" ]}
      ]
    }
    """
);
var data = JsonNode.Parse(
    """
    {
      "temp" : 100,
      "pie" : { "filling" : "apple" }
    }
    """
);
var result = JsonLogic.Apply(rule, data);

// result: true

If you found this library helpful and would like to promote continued development, please consider sponsoring the maintainers.

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 is compatible. 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 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 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.
.NET Core netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.
.NET Standard netstandard2.0 is compatible. netstandard2.1 was computed.
.NET Framework net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.
MonoAndroid monoandroid was computed.
MonoMac monomac was computed.
MonoTouch monotouch was computed.
Tizen tizen40 was computed. tizen60 was computed.
Xamarin.iOS xamarinios was computed.
Xamarin.Mac xamarinmac was computed.
Xamarin.TVOS xamarintvos was computed.
Xamarin.WatchOS xamarinwatchos was computed.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on JsonLogic:

Package Downloads
Umbraco.Forms.Web Umbraco Forms Web encapsulates web components of the forms builder for use by package developers. 2.4M
OpenFeature.Contrib.Providers.Flagd flagd provider for .NET 105.6K
Siccar.Application This library enables working with the Blueprint models in the Siccar Application. For more infromation see: https://siccar.net/docs For this release see notes - https://projectbob.visualstudio.com/\_git/SICCARV3?path=/src/Common/SiccarApplicationBlueprint/README.md For the change log - https://projectbob.visualstudio.com/\_git/SICCARV3?path=/src/Common/SiccarApplicationBlueprint/CHANGELOG.md 10.3K
Nvx.ConsistentAPI Event Modeling framework 7.4K
Coreeple.Zigana.Core Package Description 360

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.5.0 995 12/9/2025
5.4.3 32,341 9/13/2025
5.4.2 107,865 8/16/2025
5.4.1 8,796 8/5/2025
5.4.0 340,128 1/2/2025
5.3.0 108,408 11/16/2024
5.2.1 256,249 4/20/2024
5.2.0.2 295 4/19/2024
5.2.0.1 277 4/19/2024
5.2.0 1,686 4/18/2024
5.1.0 9,635 3/4/2024
5.0.0 9,162 2/3/2024
4.0.4 130,749 3/29/2023
4.0.3 1,434 3/20/2023
4.0.2 467 3/19/2023
4.0.1 959 3/8/2023
4.0.0 462 3/8/2023
3.3.2 4,056 2/22/2023
3.3.1 1,631 2/2/2023
3.3.0 801 1/23/2023
3.2.0 34,508 9/1/2022
3.1.2 3,877 8/16/2022
3.1.1 1,979 8/5/2022
3.1.0 18,405 7/22/2022
3.0.1 6,783 6/17/2022
3.0.0 1,132 6/13/2022
2.0.0 9,891 5/18/2022
1.4.0 98,174 1/14/2022
1.3.2 1,398 11/13/2021
1.3.1 3,605 6/20/2021
1.3.0 747 4/3/2021
1.2.1 691 2/24/2021
1.2.0 685 1/17/2021
1.1.0 663 1/1/2021
1.0.1 698 1/1/2021
1.0.0 1,795 12/23/2020