ObjectMapperImpl constructor

ObjectMapperImpl({
  1. NamingStrategy? namingStrategy,
  2. Map<Type, ToJsonParserFunction>? defaultSerializerOverride,
  3. Map<Type, FromJsonParserFunction>? defaultDeserializerOverride,
  4. bool prettyPrint = true,
})

Implementation

ObjectMapperImpl({
  super.namingStrategy,
  Map<Type, ToJsonParserFunction>? defaultSerializerOverride,
  Map<Type, FromJsonParserFunction>? defaultDeserializerOverride,
  super.prettyPrint,
}) {
  defaultSerializer.addAll(defaultSerializerOverride ?? {});
  defaultDeserializer.addAll(defaultDeserializerOverride ?? {});
}