Comments (5)
That would be cool. I'd always intended that jq would eventually be packaged as a library as well as a command-line tool so that it could be called from other languages (a la PCRE). I've no idea what's involved in writing a C extension for node.js though.
from jq.
👍
from jq.
Great. An extension in languages like PHP would be very useful, where JSON is not native. The overhead of transformation between PHP objects and JSON objects could be avoided.
from jq.
That's exactly what I thought after reading the manual.
No matter how fast the module would be. It might be used for a rapid prototyping of datastore or API.
P.S.: Binding to python would be great too.
from jq.
OK, thanks to @nicowilliams jq can be built in library form now. I have no particular plans to write bindings to node.js, python, PHP or whatever, but I'll happily click "merge" if someone else feels like it.
from jq.
Related Issues (20)
- Windows jq version 1.7 has a "dirty" suffix when downloading AMD64 version from https://jqlang.github.io/jq/download/ HOT 2
- OT: What versions of arm require `armel`? HOT 3
- We should add an info that release files are bare executables. HOT 1
- strftime produces corrupted characters in windows HOT 7
- Wrong math for big integers HOT 9
- [Feature] Add ~/.jq.d to default module search path HOT 6
- Python bindings HOT 1
- Running `jqtest` triggers UBSAN errors HOT 1
- jq_fuzz_fixed: count-down loop times out if the input is a big number HOT 10
- Strange jq performance problem HOT 14
- heap-buffer-overflow in jq1.7 at decNumber.c HOT 3
- CVE-2023-49355 status ? HOT 2
- Tests don't work in non-decnumber builds
- Feature Request - Full Path Json output HOT 5
- Broken non-Latin output HOT 14
- Version 1.7.1 not working well on XcodeCloud HOT 4
- 1 test fails on WSL Debian HOT 14
- Version number pattern
- Base64d filter is not working as expected. HOT 2
- Allow user to control colors of int/bool/number HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jq.