コード例 #1
0
 @Override
 public Object deserializeWithType(
     JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer)
     throws IOException, JsonProcessingException {
   // In future could check current token... for now this should be enough:
   return typeDeserializer.deserializeTypedFromObject(jp, ctxt);
 }
コード例 #2
0
 public Object deserializeWithType(
     JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer)
     throws IOException, JsonProcessingException {
   /* Should there be separate handling for base64 stuff?
    * for now this should be enough:
    */
   return typeDeserializer.deserializeTypedFromArray(jp, ctxt);
 }