Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct json syntax for module settings #20

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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