From 72f52a18069c2a04b9cb8bbe6f5185fe4c384be1 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 27 Mar 2014 14:56:05 +0000 Subject: Replace raw_input with the text argument --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') 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: -- cgit v1.2.3