Files
neovim/runtime/doc
skewb1k 448f15ca39 feat(json): pretty-format (indent) with vim.json.encode() #35424
Problem:
There is no straightforward way to pretty-print objects as JSON.
The existing `vim.inspect` outputs LON.

Solution:
Introduce an `indent` option for `vim.json.encode()` which enables
human-readable output with configurable indentation.

Adapts PR to upstream: openresty/lua-cjson#114
2025-09-07 14:38:27 -07:00
..
2025-09-03 23:03:51 -04:00
2025-09-03 23:03:51 -04:00
2025-07-10 21:50:46 -04:00
2025-05-03 10:08:53 -07:00
2025-04-27 15:44:11 -07:00
2025-09-03 23:03:51 -04:00
2025-08-24 23:43:48 +00:00
2025-09-03 23:03:51 -04:00
2025-09-03 23:03:51 -04:00
2025-09-03 23:03:51 -04:00
2025-06-14 17:24:36 +02:00
2025-05-03 10:08:53 -07:00
2025-09-03 23:03:51 -04:00
2025-03-30 13:29:36 -07:00
2025-03-15 15:00:44 +01:00
2025-09-03 23:03:51 -04:00
2025-05-03 15:47:59 -07:00
2025-01-03 08:29:36 -08:00
2025-06-18 12:12:23 +02:00
2025-09-03 23:03:51 -04:00