summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-03-27 14:56:05 +0000
committerMichael Williamson <mike@zwobble.org>2014-03-27 14:56:05 +0000
commit72f52a18069c2a04b9cb8bbe6f5185fe4c384be1 (patch)
tree86e423c0b1592b66d8954cbb8de413f636c9017e /README.md
parentc09350f5016796ee76d2e43f174cce2fdb672ddd (diff)
Replace raw_input with the text argument
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index dd1342d..16bfe8b 100644
--- a/README.md
+++ b/README.md
@@ -12,10 +12,10 @@ from jq import jq
jq(".").transform("42") == "42"
```
-The `raw_input` argument can be used to treat the input as a raw JSON string:
+If the value is unparsed JSON text, pass it in using the `text` argument:
```python
-jq(".").transform("42", raw_input=True) == 42
+jq(".").transform(text="42") == 42
```
The `raw_output` argument can be used to serialise the output into a JSON string: