Convert a value to a JSON string with optional formatting and transformation.
The value to stringify
JSON string representation of the input value.
Defaults to 2-space indentation if space is not provided.
space
Convert a value to a JSON string with optional formatting and transformation.