summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-01-11 21:50:08 +0100
committerBram Moolenaar <Bram@vim.org>2017-01-11 21:50:08 +0100
commitee142add229cbcd58bc76d59f23e02517df14379 (patch)
tree5b6252210596b5a331e00ab4a89ea5017fc07a37 /runtime
parente32abbe42c921c5e521420417abe5bc301e540b3 (diff)
downloadvim-git-ee142add229cbcd58bc76d59f23e02517df14379.tar.gz
patch 8.0.0171: JS style JSON does not support single quotesv8.0.0171
Problem: JS style JSON does not support single quotes. Solution: Allow for single quotes. (Yasuhiro Matsumoto, closes #1371)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index b3c73235f..a53b5d23d 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -5229,6 +5229,7 @@ join({list} [, {sep}]) *join()*
js_decode({string}) *js_decode()*
This is similar to |json_decode()| with these differences:
- Object key names do not have to be in quotes.
+ - Strings can be in single quotes.
- Empty items in an array (between two commas) are allowed and
result in v:none items.