-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
0xMaxLab edited this page Mar 16, 2026
·
3 revisions
Updates the library's behavior by merging a new configuration object into the global state.
| Property | Type | Default | Description |
|---|---|---|---|
debugEnabled |
boolean |
false |
Enables detailed logging for debugging JSON transformations. |
fileCacheEnabled |
boolean |
true |
Toggles the internal file system caching mechanism. |
lateConstructorEnabled |
boolean |
true |
Delays object construction to improve initial load performance. |
crashOnNestedCloneEnabled |
boolean |
false |
Throws an error if a clone operation is triggered within another clone. |
import * as RichJson from "@rjson/parser"
// Enable debug mode and disable caching
RichJson.updateConfiguration({
debugEnabled: true,
fileCacheEnabled: false
});
Author’s Recommendation: next read FileHelper
Back to Repo ● Wiki Home
Copyright © Maximilian Schwarz