Skip to content

Commit 3c58242

Browse files
53ningenjamesls
authored andcommitted
Support non-ascii characters
1 parent 12caacb commit 3c58242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/jp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def main():
3434
data = json.loads(data)
3535
try:
3636
sys.stdout.write(json.dumps(
37-
jmespath.search(expression, data), indent=4))
37+
jmespath.search(expression, data), indent=4, ensure_ascii=False))
3838
sys.stdout.write('\n')
3939
except exceptions.ArityError as e:
4040
sys.stderr.write("invalid-arity: %s\n" % e)

0 commit comments

Comments
 (0)