throws IOException, JsonProcessingException {
// First of all, make sure that we can get a copy of the DBCollection
if (jp instanceof JacksonDBCollectionProvider) {
K id = null;
String collectionName = null;
JsonToken token = jp.getCurrentToken();
if (token == JsonToken.VALUE_NULL) {
return null;
}
if (token == JsonToken.VALUE_EMBEDDED_OBJECT) {
// Someones already kindly decoded it for us