We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60428cc commit 99d820dCopy full SHA for 99d820d
lua/rest-nvim/parser/init.lua
@@ -338,9 +338,7 @@ function parser.parse_body(children_nodes, variables)
338
for node_type, node in pairs(children_nodes) do
339
if node_type == "json_body" then
340
local json_body_text = assert(get_node_text(node, 0))
341
- local json_body = vim.json.decode(json_body_text, {
342
- luanil = { object = true, array = true },
343
- })
+ local json_body = vim.json.decode(json_body_text)
344
body = traverse_body(json_body, variables)
345
-- This is some metadata to be used later on
346
body.__TYPE = "json"
0 commit comments