Skip to content

Commit 77fd677

Browse files
committed
Merge branch 'ensure-ascii' into develop
PR #190. * ensure-ascii: Support non-ascii characters
2 parents 12caacb + 3c58242 commit 77fd677

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)