Class KiwiMongoConverters.BsonUndefinedToNullStringConverter

java.lang.Object
org.kiwiproject.spring.data.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 Details

    • BsonUndefinedToNullStringConverter

      public BsonUndefinedToNullStringConverter()
  • Method Details

    • convert

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