Provides wrappers for json_encode/json_decode that throw exceptions when an
error is encountered.

Trait
Methods
private static jsonDecode( $json, $assoc = false, $depth = 512, $options = 0)
 
  • return mixed
  • throws InvalidArgumentException
private static jsonEncode( $value, $options = 0, $depth = 512)
 
  • return string
  • throws InvalidArgumentException
Methods
private static jsonDecode( $json, $assoc = false, $depth = 512, $options = 0)
 
  • return mixed
  • throws InvalidArgumentException
private static jsonEncode( $value, $options = 0, $depth = 512)
 
  • return string
  • throws InvalidArgumentException
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only