Introduces a new method validateEncodedStringOrThrow
that is not susceptible to array-object confusion in associative-decoded PHP arrays. The new method acts directly on an encoded string in the exact same method described in Opis's own docs. This is a really good way to validate incoming data from another system where empty objects have a concrete semantic meaning, which PHP is really bad at.