1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_25) on Mon Jun 02 17:48:55 PDT 2014 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>KeyDeserializers (jackson-databind 2.4.0 API)</title> 8<meta name="date" content="2014-06-02"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="KeyDeserializers (jackson-databind 2.4.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/KeyDeserializers.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/deser/Deserializers.Base.html" title="class in com.fasterxml.jackson.databind.deser"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/deser/ResolvableDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/deser/KeyDeserializers.html" target="_top">Frames</a></li> 45<li><a href="KeyDeserializers.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li>Field | </li> 67<li>Constr | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li>Field | </li> 73<li>Constr | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.deser</div> 84<h2 title="Interface KeyDeserializers" class="title">Interface KeyDeserializers</h2> 85</div> 86<div class="contentContainer"> 87<div class="description"> 88<ul class="blockList"> 89<li class="blockList"> 90<dl> 91<dt>All Known Implementing Classes:</dt> 92<dd><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleKeyDeserializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleKeyDeserializers</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdKeyDeserializers.html" title="class in com.fasterxml.jackson.databind.deser.std">StdKeyDeserializers</a></dd> 93</dl> 94<hr> 95<br> 96<pre>public interface <span class="strong">KeyDeserializers</span></pre> 97<div class="block">Interface that defines API for simple extensions that can provide additional deserializers 98 for deserializer Map keys of various types, from JSON property names. 99 Access is by a single callback method; instance is to either return 100 a configured <a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind"><code>KeyDeserializer</code></a> for specified type, or null to indicate that it 101 does not support handling of the type. In latter case, further calls can be made 102 for other providers; in former case returned key deserializer is used for handling of 103 key instances of specified type.</div> 104</li> 105</ul> 106</div> 107<div class="summary"> 108<ul class="blockList"> 109<li class="blockList"> 110<!-- ========== METHOD SUMMARY =========== --> 111<ul class="blockList"> 112<li class="blockList"><a name="method_summary"> 113<!-- --> 114</a> 115<h3>Method Summary</h3> 116<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 117<caption><span>Methods</span><span class="tabEnd"> </span></caption> 118<tr> 119<th class="colFirst" scope="col">Modifier and Type</th> 120<th class="colLast" scope="col">Method and Description</th> 121</tr> 122<tr class="altColor"> 123<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a></code></td> 124<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/KeyDeserializers.html#findKeyDeserializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.DeserializationConfig, com.fasterxml.jackson.databind.BeanDescription)">findKeyDeserializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 125 <a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind">DeserializationConfig</a> config, 126 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</code> </td> 127</tr> 128</table> 129</li> 130</ul> 131</li> 132</ul> 133</div> 134<div class="details"> 135<ul class="blockList"> 136<li class="blockList"> 137<!-- ============ METHOD DETAIL ========== --> 138<ul class="blockList"> 139<li class="blockList"><a name="method_detail"> 140<!-- --> 141</a> 142<h3>Method Detail</h3> 143<a name="findKeyDeserializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.DeserializationConfig, com.fasterxml.jackson.databind.BeanDescription)"> 144<!-- --> 145</a> 146<ul class="blockListLast"> 147<li class="blockList"> 148<h4>findKeyDeserializer</h4> 149<pre><a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a> findKeyDeserializer(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 150 <a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind">DeserializationConfig</a> config, 151 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc) 152 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 153<dl><dt><span class="strong">Throws:</span></dt> 154<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 155</li> 156</ul> 157</li> 158</ul> 159</li> 160</ul> 161</div> 162</div> 163<!-- ========= END OF CLASS DATA ========= --> 164<!-- ======= START OF BOTTOM NAVBAR ====== --> 165<div class="bottomNav"><a name="navbar_bottom"> 166<!-- --> 167</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 168<!-- --> 169</a> 170<ul class="navList" title="Navigation"> 171<li><a href="../../../../../overview-summary.html">Overview</a></li> 172<li><a href="package-summary.html">Package</a></li> 173<li class="navBarCell1Rev">Class</li> 174<li><a href="class-use/KeyDeserializers.html">Use</a></li> 175<li><a href="package-tree.html">Tree</a></li> 176<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 177<li><a href="../../../../../index-all.html">Index</a></li> 178<li><a href="../../../../../help-doc.html">Help</a></li> 179</ul> 180</div> 181<div class="subNav"> 182<ul class="navList"> 183<li><a href="../../../../../com/fasterxml/jackson/databind/deser/Deserializers.Base.html" title="class in com.fasterxml.jackson.databind.deser"><span class="strong">Prev Class</span></a></li> 184<li><a href="../../../../../com/fasterxml/jackson/databind/deser/ResolvableDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><span class="strong">Next Class</span></a></li> 185</ul> 186<ul class="navList"> 187<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/deser/KeyDeserializers.html" target="_top">Frames</a></li> 188<li><a href="KeyDeserializers.html" target="_top">No Frames</a></li> 189</ul> 190<ul class="navList" id="allclasses_navbar_bottom"> 191<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 192</ul> 193<div> 194<script type="text/javascript"><!-- 195 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 196 if(window==top) { 197 allClassesLink.style.display = "block"; 198 } 199 else { 200 allClassesLink.style.display = "none"; 201 } 202 //--> 203</script> 204</div> 205<div> 206<ul class="subNavList"> 207<li>Summary: </li> 208<li>Nested | </li> 209<li>Field | </li> 210<li>Constr | </li> 211<li><a href="#method_summary">Method</a></li> 212</ul> 213<ul class="subNavList"> 214<li>Detail: </li> 215<li>Field | </li> 216<li>Constr | </li> 217<li><a href="#method_detail">Method</a></li> 218</ul> 219</div> 220<a name="skip-navbar_bottom"> 221<!-- --> 222</a></div> 223<!-- ======== END OF BOTTOM NAVBAR ======= --> 224<p class="legalCopy"><small>Copyright © 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 225</body> 226</html> 227