aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-08-02 18:59:55 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-09-15 21:19:29 +0100
commitab82369c8eb1bf6a58f848e7cb3fb3275d13ed8b (patch)
tree8472fd5ecf6f23e2cfe60f0293e8f126e2e6aa67 /runtime
parent312c783d81544df7ab3342f4b3316ced931e89b8 (diff)
downloadrneovim-ab82369c8eb1bf6a58f848e7cb3fb3275d13ed8b.tar.gz
rneovim-ab82369c8eb1bf6a58f848e7cb3fb3275d13ed8b.tar.bz2
rneovim-ab82369c8eb1bf6a58f848e7cb3fb3275d13ed8b.zip
feat(json): convert Blobs to array of byte values
Similiar to how Vim does it, but to be consistent with how Nvim encodes lists, add a space after every comma.
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 b9eeec9a6b..165d48eb42 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -6002,6 +6002,7 @@ json_encode({expr}) *json_encode()*
surrogate pairs (such strings are not valid UTF-8 strings).
Non-printable characters are converted into "\u1234" escapes
or special escapes like "\t", other are dumped as-is.
+ |Blob|s are converted to arrays of the individual bytes.
keys({dict}) *keys()*
Return a |List| with all the keys of {dict}. The |List| is in