mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-30 10:58:12 +03:00
env: Add Strict JSON Parser (#844)
* docs: Add Strict JSON Parser configuration option to env documentation * fix: typos * . --------- Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com>
This commit is contained in:
@@ -32,6 +32,13 @@ The `.json` files in this directory will be read in alphabetical order of their
|
||||
|
||||
This item has lower priority than the startup argument `confdir`.
|
||||
|
||||
## Strict JSON Parser
|
||||
|
||||
- Name: `xray.json.strict` or `XRAY_JSON_STRICT`.
|
||||
- Default value: `false`.
|
||||
|
||||
By default, on startup Xray uses a custom JSON parser that strips comments and other non-standard characters from the configuration. If you are sure that your configuration file strictly conforms to the JSON standard (RFC 8259), you can enable this option to use the standard JSON parser, which is faster when working with large configurations.
|
||||
|
||||
## Other Available Configurations
|
||||
|
||||
- xray.location.plugin
|
||||
|
||||
Reference in New Issue
Block a user