We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03b3957 commit f6b0b03Copy full SHA for f6b0b03
rejson/__init__.py
@@ -47,6 +47,14 @@
47
jp.set('foo', 'bar')
48
jp.jsonset('baz', Path.rootPath(), 'qaz')
49
jp.execute()
50
+
51
+# If you use non-ascii character in your JSON data, you can add the no_escape flag to JSON.GET command
52
+obj_non_ascii = {
53
+ 'non_ascii_string': 'hyvää'
54
+ }
55
56
+rj.jsonset('non-ascii', Path.rootPath(), obj_non_ascii)
57
+print '{} is a non-ascii string'.format(rj.jsonget('non-ascii', Path('.non_ascii_string'), no_escape=True))
58
```
59
60
## Encoding/Decoding
0 commit comments