mirror of
https://github.com/neovim/neovim.git
synced 2025-01-02 17:33:28 -07:00
912a6e5a9c
* Add optional second table argument to vim.json.decode which takes a table 'luanil' which can include the 'object' and/or 'array' keys. These options use luanil when converting NULL in json objects and arrays respectively. The default behavior matches the original lua-cjson. * Remove recursive_convert_NIL function from rpc.lua, use vim.json.decode with luanil = { object = true } instead. This removes a hotpath in the json deserialization pipeline by dropping keys with json NULL values throughout the deserialized table. |
||
---|---|---|
.. | ||
_snippet.lua | ||
buf.lua | ||
codelens.lua | ||
diagnostic.lua | ||
handlers.lua | ||
health.lua | ||
log.lua | ||
protocol.lua | ||
rpc.lua | ||
util.lua |