Swap out (again) jstrencode for jstrdecode
This happened because when focusing on a bug for several days that had to do with decoding code points (which so happens to be encoding but in JSON it should be converted to unicode even when decoding) I lost sight of the fact that jstrencode is meant to be **JSON** encoder. In the process of this I have uncovered a number of other bugs but that's with jstrencode and the website uses jstrdecode so this should not delay the contest at all.
This commit is contained in:
1 parent
83829cc746
commit
38ecf1f280
12 files changed
+167
-167
No files matched your search
+2
-2
@@ -806,10 +806,10 @@ For example:
|
||||
bin/jval-wrapper.sh -b -q 1984/mullender/.entry.json '$.manifest[2].inventory_order'
|
||||
|
||||
bin/jval-wrapper.sh author/Anton_Algmyr.json '$.full_name'
|
||||
bin/jval-wrapper.sh -q -T author/Anton_Algmyr.json '$.full_name' | jstrencode -
|
||||
bin/jval-wrapper.sh -q -T author/Anton_Algmyr.json '$.full_name' | jstrdecode -
|
||||
```
|
||||
|
||||
**NOTE**: With `jstrencode(1)` version 1.2.3 or better, one can use `jstrencode -N`
|
||||
**NOTE**: With `jstrdecode(1)` version 1.2.3 or better, one can use `jstrdecode -N`
|
||||
and not have to use `-T` with `bin/jval-wrapper.sh`.
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user