diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-03-27 14:56:05 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-03-27 14:56:05 +0000 |
| commit | 72f52a18069c2a04b9cb8bbe6f5185fe4c384be1 (patch) | |
| tree | 86e423c0b1592b66d8954cbb8de413f636c9017e /README.md | |
| parent | c09350f5016796ee76d2e43f174cce2fdb672ddd (diff) | |
Replace raw_input with the text argument
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |
