[Cgi-session-user] The JSON serializer mess
Brought to you by:
sherzodr
From: Mark S. <ma...@su...> - 2008-01-04 03:00:48
|
The JSON serializer has been a source of "make test" failures for CGI::Session for a while. Tonight I looked into it. It turns out it uses the "JSON::Syck" module, which is reported to be buggy and unmaintained. Using "JSON::Any" seems to the best alternative, as it can load any number of available JSON modules to get the job done. But there is not clear way to make that upgrade go smoothly, without requiring "JSON::Any" for the whole distribution, when we currently require no JSON modules. Howevever, even when I tried using JSON::Any as a serializer with a different JSON module back-end...tests still failed. For me, this was the final straw: the JSON driver will ejected from the distribution in the next release, and anyone who wants can start to maintain it themselves. I might have done this tonight, but I couldn't get SVN access to our code repository to work, so nothing was comitted. Otherwise, Happy New Year! Mark |