Skip to content

Commit

Permalink
fixed HjsonEncodeOptions class definition
Browse files Browse the repository at this point in the history
  • Loading branch information
cryi committed Mar 20, 2024
1 parent 5def1e1 commit be5f82b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hjson.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ local function decode(str, strict, object_hook, object_pairs_hook)
end

---@class HjsonEncodeOptions
---@field indent string|boolean
---@field skipkeys boolean
---@field sortKeys boolean
---@field item_sort_key fun(k1:any, k2:any): boolean
---@field invalidObjectsAsType boolean
---@field indent string|boolean|nil
---@field skipkeys boolean?
---@field sortKeys boolean?
---@field item_sort_key (fun(k1:any, k2:any): boolean)?
---@field invalidObjectsAsType boolean?


---#DES 'hjson.encode_to_json'
Expand Down

0 comments on commit be5f82b

Please sign in to comment.