Just a WAG, but have you tried calling allow_blessed(1) on your JSON instance?
Edit: Never mind me it doesn't affect decode. I think you need to look at the section "OBJECT SERIALIZATION" and it's discussion of allow_tags and needing a FREEZE method instead of TO_JSON.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: How to encode/decode a class inside a class in JSON
by Fletch
in thread How to encode/decode a class inside a class in JSON
by Nordikelt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |