Allow getting the whole decoded JSON as array with the new Json::all() and also allow to get the whole decoded JSON, when using Json::get(), inside a mapping using either empty string or * as target. Example: Json::get(['all' => '*']). * only works, when there is no key * in the decoded data.
Make it work with responses loaded by a headless browser. If decoding the input string fails, it now checks if it could be HTML. If that's the case, it extracts the text content of the <body> and tries to decode this instead.
Allow getting the whole decoded JSON as array with the new
Json::all()
and also allow to get the whole decoded JSON, when usingJson::get()
, inside a mapping using either empty string or*
as target. Example:Json::get(['all' => '*'])
.*
only works, when there is no key*
in the decoded data.Make it work with responses loaded by a headless browser. If decoding the input string fails, it now checks if it could be HTML. If that's the case, it extracts the text content of the
<body>
and tries to decode this instead.