Re: Why mongodb serializer kills binary data???

62 views
Skip to first unread message

Mike O'Brien

unread,
Jul 27, 2012, 2:55:55 PM7/27/12
to mongod...@googlegroups.com
Hey - 
Can you give an example or more info on how this is breaking Jongo? There are other binary serializers in that package that you may be able to use instead.

On Friday, July 27, 2012 1:55:31 AM UTC-4, p_sh wrote:
package com.mongodb.util;
public class JSONSerializers {

    private static class LegacyBinarySerializer extends AbstractObjectSerializer {


        @Override
        public void serialize(Object obj, StringBuilder buf) {
            buf.append("<Binary Data>");
        }

    }

Why are you killing binary data? Why?

This breaks Jongo. I don't want to see <Binary data> in all my byte[] fields. I want my kitties to be alive.



Reply all
Reply to author
Forward
0 new messages