In new add-ons, is the recommendation to serialize or json encode data to the database where needed? In general, it seems like development patterns are moving away from serialize/unserialize to json_encode/decode. Even PHP's unserialize documentation goes as far as making this recommendation now: https://www.php.net/manual/en/function.unserialize.php
I'm curious if it's "best practice" to follow XenForo consistency of serialize/unserialize for new add-ons, or if I should work with json instead?
I'm curious if it's "best practice" to follow XenForo consistency of serialize/unserialize for new add-ons, or if I should work with json instead?