Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

# selector #19

Open
Slicksim opened this issue Oct 17, 2023 · 2 comments
Open

# selector #19

Slicksim opened this issue Oct 17, 2023 · 2 comments

Comments

@Slicksim
Copy link

I have been looking at integrating this library and I'm loving the jsonata syntax and how easily you can accomplish transforms in json. Your library makes dealing with jsonata a breeze.

Just wrote a query that uses their # notation to get the positional index of an array, plugged it into a test console app and of course, hit the # operator is not supported, I knew I read something about it somewhere on your readme.md

Is this a feature you're looking at?

I'm trying to avoid shelling out to the cli to run the jsonata-cli if possible

@mikhail-barg
Copy link
Owner

Well, yeah, # and @ operators are not supported in my port yet. And for now I have no ETA for these features (

Actually I have a hard time understanding those implementation in original jsonata-js, and therefore I haven't gathered enough courage and time to invent something for these.

@mikhail-barg
Copy link
Owner

mikhail-barg commented Oct 17, 2023

So for a workaround you may consider using Jsonata.Net.Js which is a (slow) wrapper over original jsonata-js code. Though the js code used in the package is a bit outdated.

While being slow, it should still be much faster than running cli tool via shell-execute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants