Skip to content

.Net implementation of JSONata query and transformation language (http://jsonata.org) based on original JS code

License

Notifications You must be signed in to change notification settings

mikhail-barg/jsonata.net.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSONata.Net.Js

.Net implementation of JSONata query and transformation language (http://jsonata.org)

This is a C# wrapper over the jsonata-es5.min.js imported from jsonata-c repo by qlyoung. Which itself is a minimized/compiled version of original JSONata js files. It's current version is 1.8.3.

The wrapper uses Jint JS Engine for C#. Because this package does C#-JS interop, it's expected to be rather slow. I'm working on C#-native implementation of the engine.

Usage

using Jsonata.Net.Js;
...
JsonataEngine jsonata = new JsonataEngine();
...
string result = jsonata.Execute("$.a", "{\"a\": \"b\"}");
Debug.Assert(result == "\"b\"");

About

.Net implementation of JSONata query and transformation language (http://jsonata.org) based on original JS code

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages