Class KiwiMongoConverters.BsonUndefinedToNullStringConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<org.bson.BsonUndefined,​String>
    Enclosing class:
    KiwiMongoConverters

    public static class KiwiMongoConverters.BsonUndefinedToNullStringConverter
    extends Object
    implements org.springframework.core.convert.converter.Converter<org.bson.BsonUndefined,​String>
    A Converter that maps from the JS 'undefined' type to a 'null' value.
    • Constructor Detail

      • BsonUndefinedToNullStringConverter

        public BsonUndefinedToNullStringConverter()
    • Method Detail

      • convert

        public String convert​(org.bson.BsonUndefined bsonUndefined)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<org.bson.BsonUndefined,​String>