Skip to content

Commit

Permalink
Support non-ascii characters
Browse files Browse the repository at this point in the history
  • Loading branch information
53ningen authored and jamesls committed Mar 3, 2020
1 parent 12caacb commit 3c58242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/jp.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def main():
data = json.loads(data)
try:
sys.stdout.write(json.dumps(
jmespath.search(expression, data), indent=4))
jmespath.search(expression, data), indent=4, ensure_ascii=False))
sys.stdout.write('\n')
except exceptions.ArityError as e:
sys.stderr.write("invalid-arity: %s\n" % e)
Expand Down

0 comments on commit 3c58242

Please sign in to comment.