serialize vs json for custom fields

Status
This content is read-only, or is not open for further replies.

stromb0li

Guest
offline
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...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom