jid icon indicating copy to clipboard operation
jid copied to clipboard

Added Eval() and EvalString(string)

Open rsdoiel opened this issue 8 years ago • 2 comments

I have modified engine.go and engine_test.go adding an Eval() and EvalString(). I've included a minimal test for each. Thanks, Robert

rsdoiel avatar Jan 14 '17 20:01 rsdoiel

@rsdoiel Thx for your PR! Why do you want to add Eval() and EvalString() methods? Please let me know that reason.

simeji avatar Jan 22 '17 07:01 simeji

Good afternoon,

jid implements a nice interface for addressing ad-hoc JSON data. The eval functions were just a convenient for the ultilities I am playing around with. After several experiments I realized my use cases tend to be evaluating strings passed in to the program from the program's parameters.

Really enjoyed playing with jiq to explore JSON responses from API.

All the best,

Robert

On Jan 21, 2017 11:01 PM, "simeji" [email protected] wrote:

@rsdoiel https://github.com/rsdoiel Thx for your PR! Why did you add Eval() and EvalString() method?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/simeji/jid/pull/56#issuecomment-274313417, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKUPfm-EpZRwaHHJfO7QmIGsJCHj73xks5rUv6ugaJpZM4Ljuny .

rsdoiel avatar Jan 22 '17 22:01 rsdoiel