convert_blessed
method to convert blessed data during serialisation. This calls a TO_JSON method in the class which can simply convert it to a simple hash.
Put convert_blessed
into the serialisation call for responses (I can't see for the life of my why it isn't the default, but it isn't )
Also, preparatory to pulling this into core (should we go that way for configure) then add TIDY.
-- CrawfordCurrie - 30 May 2013
released in v2.10
-- MichaelDaum - 30 May 2013
Summary | Cannot serialise blessed data |
ReportedBy | CrawfordCurrie |
Codebase | |
SVN Range | |
AppliesTo | Extension |
Component | JsonRpcContrib |
Priority | Urgent |
CurrentState | Closed |
WaitingFor | |
Checkins | JsonRpcContrib:52e46306fb45 JsonRpcContrib:ca33eb40c563 JsonRpcContrib:8aa7cafcf2a2 distro:83eb5e65171a distro:25b604c2e4c2 distro:2d5f5c1de98a |
ReleasedIn | n/a |
CheckinsOnBranches | trunk master |
trunkCheckins | JsonRpcContrib:52e46306fb45 JsonRpcContrib:ca33eb40c563 JsonRpcContrib:8aa7cafcf2a2 |
masterCheckins | distro:83eb5e65171a distro:25b604c2e4c2 distro:2d5f5c1de98a |
Release01x01Checkins |