You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2026. It is now read-only.
Method jsonSerialize of JsonSerializable interface should return data to be serialized to json, not json itself, as stated in the PHP documentation: "JsonSerializable::jsonSerialize — Specify data which should be serialized to JSON". Using json_encode in jsonSerialize() causes double json encoding: at first in jsonSerialize, and then json string is converted to json again by json_encode itself.