Good morning from Texas! Has anyone written an equ...
# cfml-general
t
Good morning from Texas! Has anyone written an equivalent to PHP's
unserialize()
and
serialize()
?
❤️ 1
Perhaps there's a custom serializer out in the wild?
p
with capability of using a custom one if wanted
t
Right. I'm specifically looking for the PHP serializer.
p
So what specifically is the difference between them that you need related to the php one?
t
It supports XML and JSON formats, but PHP is a whole other format.
p
Not XML or JSON, then what “format” does it provide?
Nvm I found it
t
🙂
p
yea that is unique to PHP but you can have a custom serializer and still utilize the CF serialize()
t
Indeed. I just want to know if anyone has built it
That may be close to functioning for it, didnt wanna spin up a php env to test it
yea actually not the exact what php spits out but a good starter approach
t
p
Nice job!
t
Thanks for pointing me to the serializer. That helped a bunch!
p
Np