com.fasterxml.jackson.databind.ser.ContainerSerializer Java Examples
The following examples show how to use
com.fasterxml.jackson.databind.ser.ContainerSerializer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ObjectContainerSerializer.java From jackson-datatypes-collections with Apache License 2.0 | 5 votes |
@Override protected ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { ObjectArraySerializer ser = (ObjectArraySerializer) _delegate._withValueTypeSerializer(vts); if (ser == _delegate) { return this; } return withDelegate(ser); }
Example #2
Source File: StringArraySerializer.java From lams with GNU General Public License v2.0 | 4 votes |
/** * Strings never add type info; hence, even if type serializer is suggested, * we'll ignore it... */ @Override public ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { return this; }
Example #3
Source File: BeanAsArraySerializer.java From webanno with Apache License 2.0 | 4 votes |
@Override public ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { return new BeanAsArraySerializer(_elementType, _staticTyping, vts, _property, _elementSerializer); }
Example #4
Source File: RefRefMapIterableSerializer.java From jackson-datatypes-collections with Apache License 2.0 | 4 votes |
@Override protected ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer typeSer) { return new RefRefMapIterableSerializer(this, _property, _keySerializer, typeSer, _valueSerializer, _ignoredEntries); }
Example #5
Source File: ContainerSerializerBase.java From jackson-datatypes-collections with Apache License 2.0 | 4 votes |
@Override protected ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { // May or may not be supportable, but for now fail loudly, not quietly throw new UnsupportedOperationException(); }
Example #6
Source File: TableSerializer.java From jackson-datatypes-collections with Apache License 2.0 | 4 votes |
@Override protected ContainerSerializer<?> _withValueTypeSerializer(final TypeSerializer typeSer) { return new TableSerializer(this, typeSer); }
Example #7
Source File: MultimapSerializer.java From jackson-datatypes-collections with Apache License 2.0 | 4 votes |
@Override protected ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer typeSer) { return new MultimapSerializer(this, _property, _keySerializer, typeSer, _valueSerializer, _ignoredEntries, _filterId, _sortKeys); }
Example #8
Source File: PrimitiveIterableSerializer.java From jackson-datatypes-collections with Apache License 2.0 | 4 votes |
@Override protected ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { // no type info for primitives return this; }
Example #9
Source File: IndexedListSerializer.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { return new IndexedListSerializer(this, _property, vts, _elementSerializer, _unwrapSingle); }
Example #10
Source File: ObjectArraySerializer.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { return new ObjectArraySerializer(_elementType, _staticTyping, vts, _elementSerializer); }
Example #11
Source File: IteratorSerializer.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { return new IteratorSerializer(this, _property, vts, _elementSerializer, _unwrapSingle); }
Example #12
Source File: MapEntrySerializer.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { return new MapEntrySerializer(this, _property, vts, _keySerializer, _valueSerializer, _suppressableValue, _suppressNulls); }
Example #13
Source File: StdArraySerializers.java From lams with GNU General Public License v2.0 | 4 votes |
/** * Doubles never add type info; hence, even if type serializer is suggested, * we'll ignore it... */ @Override public ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { return this; }
Example #14
Source File: StdArraySerializers.java From lams with GNU General Public License v2.0 | 4 votes |
/** * Ints never add type info; hence, even if type serializer is suggested, * we'll ignore it... */ @Override public ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { return this; }
Example #15
Source File: StdArraySerializers.java From lams with GNU General Public License v2.0 | 4 votes |
/** * Booleans never add type info; hence, even if type serializer is suggested, * we'll ignore it... */ @Override public ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { return this; }
Example #16
Source File: StdArraySerializers.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public final ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { // throw exception or just do nothing? return this; }
Example #17
Source File: CollectionSerializer.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { return new CollectionSerializer(this, _property, vts, _elementSerializer, _unwrapSingle); }
Example #18
Source File: IterableSerializer.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public ContainerSerializer<?> _withValueTypeSerializer(TypeSerializer vts) { return new IterableSerializer(this, _property, vts, _elementSerializer, _unwrapSingle); }