Joerg Battermann
2009-Jan-26 13:06 UTC
Binary / Base64 decoding upon Json Deserialization?
Hello there, xml (de)serialization seems to automatically base64 en/decode binary data, but the json one apparently does not... and I was wondering whether that''s somehow already planned or on purpose left out? Cheers & thanks, -J --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Michael Koziarski
2009-Jan-29 04:12 UTC
Re: Binary / Base64 decoding upon Json Deserialization?
> xml (de)serialization seems to automatically base64 en/decode binary > data, but the json one apparently does not... and I was wondering > whether that''s somehow already planned or on purpose left out?I don''t believe this was done deliberately. While I personally can''t see myself using json with blobs, there''s no reason we should support it. Send in a patch and we''ll take a look. -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---