Skip to content

Commit

Permalink
ADD json style
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Aug 29, 2024
1 parent 32d6456 commit 93589eb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/ldtk/Json.hx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ If you want to start supporting this future update easily, please refer to this
@internal
var minifyJson: Bool;

/** JSON style **/
@internal
var jsonStyle: JsonStyle;

/** If TRUE, one file will be saved for the project (incl. all its definitions) and one file in a sub-folder for each level. **/
@added("0.7.0")
var externalLevels: Bool;
Expand Down Expand Up @@ -1893,3 +1897,11 @@ enum CustomCommandTrigger {
BeforeSave;
AfterSave;
}


@added("1.5.4")
enum JsonStyle {
Minified;
Compact;
Full;
}

0 comments on commit 93589eb

Please sign in to comment.