Closed
Description
Imagine that I got true
response from API. That method do it right and return PHP true
(coz json_decode). But... TO ARRAY ? Is true
IS ARRAY ? Or maybe 123
is array also ? 😄
Also someone want to get PHP object instead array (preferences).
Maybe one more method like getJson($throw = true, $asArray = true)
and deprecate toArray
? 😸