This website requires JavaScript.
Explore
Help
Sign In
mirror
/
stedolan-jq
Watch
1
Star
0
Fork
0
You've already forked stedolan-jq
mirror of
https://github.com/stedolan/jq.git
synced
2024-05-11 05:55:39 +00:00
Code
Issues
Releases
Activity
stedolan-jq
/
tests
/
modules
/
a.jq
3 lines
34 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Further module system revamp (fix #659) To import a module now use: # Import module.jq file: import "relative/path/to/module" as foo; # Use the module's defs as foo::<def-name> To import a JSON file: # Read file.json: import "relative/path/to/file" as $foo; # # Use as $foo::foo Using `-L` now drops the builtin library path and appends the requested path to the empty array (or the result of an earlier `-L`). Support for the `$JQ_LIBRARY_PATH` environment variable has been removed.
2014-12-30 13:13:30 -06:00
module {version:1.7};
Drop "any/" in module search; use 1.x-master
2014-08-20 20:48:48 -05:00
def a: "a";
Copy Permalink