Removed
- Constant
Ghostwriter\Json\Interface\JsonInterface::DECODE
was removed - Constant
Ghostwriter\Json\Interface\JsonInterface::DEPTH
was removed - Constant
Ghostwriter\Json\Interface\JsonInterface::EMPTY
was removed - Constant
Ghostwriter\Json\Interface\JsonInterface::ENCODE
was removed - Constant
Ghostwriter\Json\Interface\JsonInterface::IGNORE
was removed - Constant
Ghostwriter\Json\Interface\JsonInterface::PRETTY
was removed
Changed
- The return type of
Ghostwriter\Json\Interface\JsonInterface#decode()
changed frommixed
toarray
- Parameter 1 of
Ghostwriter\Json\Interface\JsonInterface#encode()
changed name fromint $flags = 0
tobool $prettyPrint = false
- Parameter 1 of
Ghostwriter\Json\Interface\JsonInterface#validate()
changed name fromint $flags = 0
tobool $ignoreInvalidUtf8 = false
Full Changelog: 2.0.0...3.0.0