The JSON string or object to colorize.
Optional
options: {The options for colorizing the JSON string.
Optional
bigint?: stringThe color to use for bigints.
Optional
comma?: stringThe color to use for commas.
Optional
false?: stringThe color to use for false.
Optional
key?: stringThe color to use for keys.
Optional
leftCurlyBracket?: stringThe color to use for left curly brackets.
Optional
leftSquareBracket?: stringThe color to use for left square brackets.
Optional
null?: stringThe color to use for null.
Optional
number?: stringThe color to use for numbers.
Optional
rightCurlyBracket?: stringThe color to use for right curly brackets.
Optional
rightSquareBracket?: stringThe color to use for right square brackets.
Optional
string?: stringThe color to use for strings.
Optional
true?: stringThe color to use for true.
Optional
undefined?: stringThe color to use for undefined.
The colorized JSON string.
Colorizes a JSON string or object.