Skip to content

Commit

Permalink
Merge pull request #20 from carehart/patch-1
Browse files Browse the repository at this point in the history
Correct json syntax for module settings
  • Loading branch information
lmajano authored Jan 13, 2025
2 parents 80976c4 + 90546bb commit ef2e6b0
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,30 +52,30 @@ settings = {
The valid engines are `adobe` or `lucee`. By default the engine is `lucee`. All module settings can be changed via the `boxlang.json` in your configuration.

```json
"modules" : {
"compat-cfml" : {
"disabled" : false,
"settings" : {
"engine" : "adobe",
// JSON control character auto-escaping flag
// IF you turn to true, be aware that the entire JSON serialization will be escaped and be slower.
jsonEscapeControlCharacters = true,
// This simulates the query to empty value that Adobe/Lucee do when NOT in full null support
// We default it to true to simulate Adobe/Lucee behavior
queryNullToEmpty = true,
// The CF -> BL AST transpiler settings
// The transpiler is in the core, but will eventually live in this module, so the settings are here.
transpiler = {
// Turn foo.bar into foo.BAR
upperCaseKeys = true,
// Add output=true to functions and classes
forceOutputTrue = true,
// Merged doc comments into actual function, class, and property annotations
mergeDocsIntoAnnotations = true
}
}
}
}
"modules": {
"compat-cfml" : {
"disabled" : false,
"settings" : {
"engine" : "adobe",
// JSON control character auto-escaping flag
// IF you turn to true, be aware that the entire JSON serialization will be escaped and be slower.
"jsonEscapeControlCharacters" : true,
// This simulates the query to empty value that Adobe/Lucee do when NOT in full null support
// We default it to true to simulate Adobe/Lucee behavior
"queryNullToEmpty" : true,
// The CF -> BL AST transpiler settings
// The transpiler is in the core, but will eventually live in this module, so the settings are here.
"transpiler" : {
// Turn foo.bar into foo.BAR
"upperCaseKeys" : true,
// Add output=true to functions and classes
"forceOutputTrue" : true,
// Merged doc comments into actual function, class, and property annotations
"mergeDocsIntoAnnotations" : true
}
}
}
}
```

## Server Scope Mimic
Expand Down

0 comments on commit ef2e6b0

Please sign in to comment.