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

Add direct JSON return of search results #28

Open
lehenbauer opened this issue Jun 12, 2012 · 0 comments
Open

Add direct JSON return of search results #28

lehenbauer opened this issue Jun 12, 2012 · 0 comments

Comments

@lehenbauer
Copy link
Collaborator

Using yajl or whatever, add a direct JSON return capability. It can be a direct C-to-C thing and since type inspection from C is trivial and fast we can generate the JSON with fidelity. The Tcl interpreter wouldn't even need to be invoked for each match.

Something like... $table search -compare [list [list > clock $val]] -json varName

...to get the json into a var. You might want a -jsonfp or something, to write directly to a file handle or socket.

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

1 participant