Configuration

Configuration keys for the Solar_Json class.

bypass_ext

  • (bool) Flag to instruct Solar_Json to bypass native json extension, if installed.

  • Default: false

bypass_mb

  • (bool) Flag to instruct Solar_Json to bypass native mb_convert_encoding() function, if installed.

  • Default: false

noerror

  • (bool) Flag to instruct Solar_Json to return null for values it cannot encode rather than throwing an exceptions (PHP-only encoding) or PHP warnings (native json_encode() function).

  • Default: false



Local