Skip to content
NWang edited this page Feb 8, 2023 · 4 revisions

project JSON@174287c

This is an example to access the project JSON data and write it back:

local J = require('suave.utils.json')

-- read the data.
local succeeded, data = unpack(J.read_from_project_json())

if succeeded then
  -- do your stuff with the data.
  ...
end

-- write the data back.
J.write_to_project_json(data)
Clone this wiki locally