Menu

#14 JSONSerializer should accept a Writer to serialize objects

closed
nobody
5
2012-02-02
2010-07-17
No

Even if String serialize(Object) is very convenient, it is best to void serialize(Object, Writer). Many time you want to serialize an object directly to a writer(servlet, files?) instead of serialize to string and then write it in a Writer.

Thanks.

PS. I could provide a patch, if you want.

Discussion

  • Charlie Hubbard

    Charlie Hubbard - 2012-02-02

    This is fixed in the latest version.

     
  • Charlie Hubbard

    Charlie Hubbard - 2012-02-02
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB