BoB3k
Member
Has anyone tried using the new Structs with json_encode/json_decode?
My guess is that they go away, as in they will work fine on the encode, but on decode they will just be turned into ds_maps as before.
It's too bad. It would be nice to have a json decode into structs, as that would closer resemble the json and OO structuring.
Maybe there could be an option in the decode function to request structs instead of ds_maps?
My guess is that they go away, as in they will work fine on the encode, but on decode they will just be turned into ds_maps as before.
It's too bad. It would be nice to have a json decode into structs, as that would closer resemble the json and OO structuring.
Maybe there could be an option in the decode function to request structs instead of ds_maps?