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
I have an object which contains a couple of file reference, one of which is a JSON file. I want to serialize this object into JSON, but the not serialize the JSON string again.
I'm already using a custom serialization handler to convert the files into their string representation.
I have now fixed this with a smallworkaround (using json_decode to deserialize the JSON string first), but is there a way to do this without the extra deserialize/serialize roundtrip?
I have an object which contains a couple of file reference, one of which is a JSON file. I want to serialize this object into JSON, but the not serialize the JSON string again.
I'm already using a custom serialization handler to convert the files into their string representation.
This results in:
Instead of the wanted:
I have now fixed this with a smallworkaround (using
json_decode
to deserialize the JSON string first), but is there a way to do this without the extra deserialize/serialize roundtrip?The text was updated successfully, but these errors were encountered: