tree: e26b51bd3a8f1f26d235bbbcafd7d923cc1e5bb4 [path history] [tgz]
  1. tests/
  2. AUTHORS
  3. BUILD
  4. builtin.c
  5. builtin.h
  6. bytecode.c
  7. bytecode.h
  8. compile.c
  9. compile.h
  10. COPYING
  11. exec_stack.h
  12. execute.c
  13. jq.h
  14. jq.spec
  15. jq_parser.h
  16. jq_test.c
  17. jv.c
  18. jv.h
  19. jv_alloc.c
  20. jv_alloc.h
  21. jv_aux.c
  22. jv_dtoa.c
  23. jv_dtoa.h
  24. jv_file.c
  25. jv_parse.c
  26. jv_print.c
  27. jv_unicode.c
  28. jv_unicode.h
  29. jv_utf8_tables.h
  30. lexer.c
  31. lexer.h
  32. lexer.l
  33. libm.h
  34. locfile.c
  35. locfile.h
  36. main.c
  37. opcode_list.h
  38. parser.c
  39. parser.h
  40. parser.y
  41. README
  42. README.google
  43. README.md
  44. version.h
third_party/jq/README.md

jq

jq is a command-line JSON processor.

If you want to learn to use jq, read the documentation at http://stedolan.github.io/jq. This documentation is generated from the docs/ folder of this repository. You can also try it online at http://jqplay.herokuapp.com.

If you want to hack on jq, feel free, but be warned that its internals are not well-documented at the moment. Bring a hard hat and a shovel. Also, read the wiki: http://github.com/stedolan/jq/wiki

If you‘re building directly from the latest git, you’ll need flex and bison installed. To build, run:

autoreconf -i
./configure
make -j8
make check

After make finishes, you'll be able to use ./jq. You can also install it using:

sudo make install

If you‘re not using the latest git version but instead building a released tarball (available on the website), then you won’t need to run autoreconf (and shouldn‘t), and you won’t need flex or bison.

To cross-compile for OS X and Windows, see docs/Rakefile‘s build task and scripts/crosscompile. You’ll need a cross-compilation environment, such as Mingw for cross-compiling for Windows.