Create Codec implementation for POJOs

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Codecs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The 3.0.x branch now has pluggable support for BSON codecs (encoders/decoders), as well as a few concrete implementations for Map-like classes: DBObjectCodec, DocumentCodec, and BsonDocumentCodec.

      The goal for this issue is to create a ClassModelCodec (and associated ClassModelCodecProvider) that supports encoding and decoding any POJO (Plain Old Java Object).

      This codec should support the following field types:

      • String
      • int, Integer
      • long, Long
      • boolean, Boolean
      • double, Double
      • Date
      • POJO (for embedded documents)
      • Binary
      • java.util.List (of any of the preceding types)

      It also must provide a way to indicate a mapping for the _id property (by convention or annotation).

            Assignee:
            Justin Lee
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: