@param deserializer {@link JsonDeserializer} used to deserialize the objects inside the {@link Multiset}.
@param <T> Type of the elements inside the {@link Multiset}

@return a new instance of {@link MultisetJsonDeserializer}
557381
public static <T> MultisetJsonDeserializer<T> newInstance( JsonDeserializer<T> deserializer ) {
        return new MultisetJsonDeserializer<T>( deserializer );
    }
1171407
public static <E extends Enum<E>> EnumSetJsonDeserializer<E> newInstance( EnumJsonDeserializer<E> deserializer ) {
        return new EnumSetJsonDeserializer<E>( deserializer );
    }
1018230
public static <T> StackJsonDeserializer<T> newInstance( JsonDeserializer<T> deserializer ) {
        return new StackJsonDeserializer<T>( deserializer );
    }
1216406
public static <T> ListJsonDeserializer<T> newInstance( JsonDeserializer<T> deserializer ) {
        return new ListJsonDeserializer<T>( deserializer );
    }
690347
public static <T extends TBase> T deserializeJson(T dest, String thriftJson) throws TException {
		// Tried having a static final deserializer, but it doesn't seem to be thread safe
		new TDeserializer(new TJSONProtocol.Factory()).deserialize(dest, thriftJson, THRIFT_CHARSET);
		return dest;
	}
675109
public Descriptor withMessageSerializer(Type messageType, MessageSerializer<?, ?> messageSerializer) {
        return replaceAllMessageSerializers(messageSerializers.plus(messageType, messageSerializer));
    }
1340553
@SuppressWarnings("unchecked")
  private <T> TypeSerializer<T> getSerializer(Class<T> type) {
    TypeSerializer<T> serializer = (TypeSerializer<T>) serializers.get(type);
    if (serializer == null) {
      TypeSerializerFactory factory = registry.factory(type);
      if (factory != null) {
        serializer = (TypeSerializer<T>) factory.createSerializer(type);
        serializers.put(type, serializer);
      }
    }
    return serializer;
  }
232012
def _get_deserializer(cls, cls_for):
        

        if cls_for.__name__ in cls._custom_deserializers:
            return cls._custom_deserializers[cls_for.__name__]

        return JsonAdapter
595429
public <T> Descriptor withPathParamSerializer(Class<T> pathParamType, PathParamSerializer<T> pathParamSerializer) {
        return withPathParamSerializer((Type) pathParamType, pathParamSerializer);
    }
160419
public Deserializer getListDeserializer(String type)
        throws HessianProtocolException {
        Deserializer deserializer = getDeserializer(type);

        if (deserializer != null)
            return deserializer;
        else if (_arrayListDeserializer != null)
            return _arrayListDeserializer;
        else {
            _arrayListDeserializer = new CollectionDeserializer(ArrayList.class);

            return _arrayListDeserializer;
        }
    }
522462
public static Serializer getSerializer(Class<?> type) {
    Class<?> serializable = lookupSerializableType(type);
    Serializer serializer = serializers.get(serializable);
    if (serializer == null) {
      serializer = getInstance().createSerializer(serializable);
      serializers.put(serializable, serializer);
    }
    return serializer;
  }
545153
public static <T> LinkedHashMultisetJsonDeserializer<T> newInstance( JsonDeserializer<T> deserializer ) {
        return new LinkedHashMultisetJsonDeserializer<T>( deserializer );
    }
927567
public Descriptor withExceptionSerializer(ExceptionSerializer exceptionSerializer) {
        return new Descriptor(name, calls, pathParamSerializers, messageSerializers, serializerFactory, exceptionSerializer, autoAcl, acls, headerFilter, locatableService, circuitBreaker, topicCalls);
    }
489444
public static <T> CollectionJsonDeserializer<T> newInstance( JsonDeserializer<T> deserializer ) {
        return new CollectionJsonDeserializer<T>( deserializer );
    }
1109717
public JsonSerializer<T> getSerializer() {
        if ( null == serializer ) {
            serializer = (JsonSerializer<T>) newSerializer();
        }
        return serializer;
    }
142389
public static <E extends Enum<E>> EnumKeyDeserializer<E> newInstance( Class<E> enumClass ) {
        return new EnumKeyDeserializer<E>( enumClass );
    }
746557
public static <T> OptionalJsonSerializer<T> newInstance( JsonSerializer<T> serializer ) {
        return new OptionalJsonSerializer<T>( serializer );
    }