nvim_runtime_lua

vim.json.decode.Opts

@inlinedoc

Fields2

Opts.luanil : { array: boolean?, object: boolean? } | nil

Convert JSON "null" in objects/arrays to Lua nil instead of |vim.NIL|. (default: nil)

Opts.skip_comments : nil | boolean

Allows JavaScript-style comments within JSON data. Comments are treated as whitespace and may appear anywhere whitespace is valid in JSON. Supports single-line comments beginning with '//' and block comments enclosed with '/' and '/'. (default: false)