Class MapValueWriter

  • All Implemented Interfaces:
    ValueWriter

    class MapValueWriter
    extends java.lang.Object
    implements ValueWriter
    • Field Detail

      • MAP_VALUE_WRITER

        static final ValueWriter MAP_VALUE_WRITER
      • REQUIRED_QUOTING_PATTERN

        private static final java.util.regex.Pattern REQUIRED_QUOTING_PATTERN
    • Constructor Detail

      • MapValueWriter

        private MapValueWriter()
    • Method Detail

      • canWrite

        public boolean canWrite​(java.lang.Object value)
        Specified by:
        canWrite in interface ValueWriter
      • quoteKey

        private static java.lang.String quoteKey​(java.lang.Object key)
      • hasPrimitiveValues

        private static boolean hasPrimitiveValues​(java.util.Map<?,​?> values,
                                                  WriterContext context)