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_79) on Wed Jul 20 08:39:12 PDT 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>NioPathDeserializer (jackson-databind 2.8.0 API)</title> 8<meta name="date" content="2016-07-20"> 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="NioPathDeserializer (jackson-databind 2.8.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/NioPathDeserializer.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/ext/Java7SupportImpl.html" title="class in com.fasterxml.jackson.databind.ext"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/ext/NioPathSerializer.html" title="class in com.fasterxml.jackson.databind.ext"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ext/NioPathDeserializer.html" target="_top">Frames</a></li> 45<li><a href="NioPathDeserializer.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><a href="#nested_classes_inherited_from_class_com.fasterxml.jackson.databind.JsonDeserializer">Nested</a> | </li> 66<li><a href="#fields_inherited_from_class_com.fasterxml.jackson.databind.deser.std.StdDeserializer">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </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><a href="#constructor_detail">Constr</a> | </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.ext</div> 84<h2 title="Class NioPathDeserializer" class="title">Class NioPathDeserializer</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonDeserializer</a><T></li> 92<li> 93<ul class="inheritance"> 94<li><a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">com.fasterxml.jackson.databind.deser.std.StdDeserializer</a><T></li> 95<li> 96<ul class="inheritance"> 97<li><a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdScalarDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>></li> 98<li> 99<ul class="inheritance"> 100<li>com.fasterxml.jackson.databind.ext.NioPathDeserializer</li> 101</ul> 102</li> 103</ul> 104</li> 105</ul> 106</li> 107</ul> 108</li> 109</ul> 110<div class="description"> 111<ul class="blockList"> 112<li class="blockList"> 113<dl> 114<dt>All Implemented Interfaces:</dt> 115<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 116</dl> 117<hr> 118<br> 119<pre>public class <span class="strong">NioPathDeserializer</span> 120extends <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdScalarDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">StdScalarDeserializer</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>></pre> 121<dl><dt><span class="strong">Since:</span></dt> 122 <dd>2.8</dd> 123<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.ext.NioPathDeserializer">Serialized Form</a></dd></dl> 124</li> 125</ul> 126</div> 127<div class="summary"> 128<ul class="blockList"> 129<li class="blockList"> 130<!-- ======== NESTED CLASS SUMMARY ======== --> 131<ul class="blockList"> 132<li class="blockList"><a name="nested_class_summary"> 133<!-- --> 134</a> 135<h3>Nested Class Summary</h3> 136<ul class="blockList"> 137<li class="blockList"><a name="nested_classes_inherited_from_class_com.fasterxml.jackson.databind.JsonDeserializer"> 138<!-- --> 139</a> 140<h3>Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a></h3> 141<code><a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.None.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer.None</a></code></li> 142</ul> 143</li> 144</ul> 145<!-- =========== FIELD SUMMARY =========== --> 146<ul class="blockList"> 147<li class="blockList"><a name="field_summary"> 148<!-- --> 149</a> 150<h3>Field Summary</h3> 151<ul class="blockList"> 152<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.deser.std.StdDeserializer"> 153<!-- --> 154</a> 155<h3>Fields inherited from class com.fasterxml.jackson.databind.deser.std.<a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">StdDeserializer</a></h3> 156<code><a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_valueClass">_valueClass</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#F_MASK_INT_COERCIONS">F_MASK_INT_COERCIONS</a></code></li> 157</ul> 158</li> 159</ul> 160<!-- ======== CONSTRUCTOR SUMMARY ======== --> 161<ul class="blockList"> 162<li class="blockList"><a name="constructor_summary"> 163<!-- --> 164</a> 165<h3>Constructor Summary</h3> 166<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 167<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 168<tr> 169<th class="colOne" scope="col">Constructor and Description</th> 170</tr> 171<tr class="altColor"> 172<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ext/NioPathDeserializer.html#NioPathDeserializer()">NioPathDeserializer</a></strong>()</code> </td> 173</tr> 174</table> 175</li> 176</ul> 177<!-- ========== METHOD SUMMARY =========== --> 178<ul class="blockList"> 179<li class="blockList"><a name="method_summary"> 180<!-- --> 181</a> 182<h3>Method Summary</h3> 183<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 184<caption><span>Methods</span><span class="tabEnd"> </span></caption> 185<tr> 186<th class="colFirst" scope="col">Modifier and Type</th> 187<th class="colLast" scope="col">Method and Description</th> 188</tr> 189<tr class="altColor"> 190<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a></code></td> 191<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ext/NioPathDeserializer.html#deserialize(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">deserialize</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> p, 192 <a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt)</code> 193<div class="block">Method that can be called to ask implementation to deserialize 194 JSON content into the value type this serializer handles.</div> 195</td> 196</tr> 197</table> 198<ul class="blockList"> 199<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer"> 200<!-- --> 201</a> 202<h3>Methods inherited from class com.fasterxml.jackson.databind.deser.std.<a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdScalarDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">StdScalarDeserializer</a></h3> 203<code><a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdScalarDeserializer.html#deserializeWithType(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext,%20com.fasterxml.jackson.databind.jsontype.TypeDeserializer)">deserializeWithType</a></code></li> 204</ul> 205<ul class="blockList"> 206<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.deser.std.StdDeserializer"> 207<!-- --> 208</a> 209<h3>Methods inherited from class com.fasterxml.jackson.databind.deser.std.<a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">StdDeserializer</a></h3> 210<code><a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_coerceIntegral(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_coerceIntegral</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_deserializeFromEmpty(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_deserializeFromEmpty</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_failDoubleToIntCoercion(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext,%20java.lang.String)">_failDoubleToIntCoercion</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_hasTextualNull(java.lang.String)">_hasTextualNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_isIntNumber(java.lang.String)">_isIntNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_isNaN(java.lang.String)">_isNaN</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_isNegInf(java.lang.String)">_isNegInf</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_isPosInf(java.lang.String)">_isPosInf</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseBoolean(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseBooleanFromOther(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseBooleanFromOther</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseBooleanPrimitive(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseBooleanPrimitive</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseByte(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseByte</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseDate(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseDate</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseDate(java.lang.String,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseDate</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseDouble(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseDoublePrimitive(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseDoublePrimitive</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseFloat(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseFloat</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseFloatPrimitive(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseFloatPrimitive</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseInteger(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseInteger</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseIntPrimitive(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseIntPrimitive</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseLong(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseLongPrimitive(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseLongPrimitive</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseShort(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseShort</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseShortPrimitive(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseShortPrimitive</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#_parseString(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">_parseString</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#findConvertingContentDeserializer(com.fasterxml.jackson.databind.DeserializationContext,%20com.fasterxml.jackson.databind.BeanProperty,%20com.fasterxml.jackson.databind.JsonDeserializer)">findConvertingContentDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#findDeserializer(com.fasterxml.jackson.databind.DeserializationContext,%20com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.BeanProperty)">findDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#findFormatFeature(com.fasterxml.jackson.databind.DeserializationContext,%20com.fasterxml.jackson.databind.BeanProperty,%20java.lang.Class,%20com.fasterxml.jackson.annotation.JsonFormat.Feature)">findFormatFeature</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#findFormatOverrides(com.fasterxml.jackson.databind.DeserializationContext,%20com.fasterxml.jackson.databind.BeanProperty,%20java.lang.Class)">findFormatOverrides</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#getValueClass()">getValueClass</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#getValueType()">getValueType</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#handledType()">handledType</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#handleMissingEndArrayForSingle(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">handleMissingEndArrayForSingle</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#handleUnknownProperty(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext,%20java.lang.Object,%20java.lang.String)">handleUnknownProperty</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#isDefaultDeserializer(com.fasterxml.jackson.databind.JsonDeserializer)">isDefaultDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#isDefaultKeyDeserializer(com.fasterxml.jackson.databind.KeyDeserializer)">isDefaultKeyDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDeserializer.html#parseDouble(java.lang.String)">parseDouble</a></code></li> 211</ul> 212<ul class="blockList"> 213<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonDeserializer"> 214<!-- --> 215</a> 216<h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a></h3> 217<code><a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#deserialize(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext,%20T)">deserialize</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#findBackReference(java.lang.String)">findBackReference</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#getDelegatee()">getDelegatee</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#getEmptyValue()">getEmptyValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#getEmptyValue(com.fasterxml.jackson.databind.DeserializationContext)">getEmptyValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#getKnownPropertyNames()">getKnownPropertyNames</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#getNullValue()">getNullValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#getNullValue(com.fasterxml.jackson.databind.DeserializationContext)">getNullValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#getObjectIdReader()">getObjectIdReader</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#isCachable()">isCachable</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#replaceDelegatee(com.fasterxml.jackson.databind.JsonDeserializer)">replaceDelegatee</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#unwrappingDeserializer(com.fasterxml.jackson.databind.util.NameTransformer)">unwrappingDeserializer</a></code></li> 218</ul> 219<ul class="blockList"> 220<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 221<!-- --> 222</a> 223<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 224<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> 225</ul> 226</li> 227</ul> 228</li> 229</ul> 230</div> 231<div class="details"> 232<ul class="blockList"> 233<li class="blockList"> 234<!-- ========= CONSTRUCTOR DETAIL ======== --> 235<ul class="blockList"> 236<li class="blockList"><a name="constructor_detail"> 237<!-- --> 238</a> 239<h3>Constructor Detail</h3> 240<a name="NioPathDeserializer()"> 241<!-- --> 242</a> 243<ul class="blockListLast"> 244<li class="blockList"> 245<h4>NioPathDeserializer</h4> 246<pre>public NioPathDeserializer()</pre> 247</li> 248</ul> 249</li> 250</ul> 251<!-- ============ METHOD DETAIL ========== --> 252<ul class="blockList"> 253<li class="blockList"><a name="method_detail"> 254<!-- --> 255</a> 256<h3>Method Detail</h3> 257<a name="deserialize(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext)"> 258<!-- --> 259</a> 260<ul class="blockListLast"> 261<li class="blockList"> 262<h4>deserialize</h4> 263<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a> deserialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> p, 264 <a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt) 265 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 266<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#deserialize(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">JsonDeserializer</a></code></strong></div> 267<div class="block">Method that can be called to ask implementation to deserialize 268 JSON content into the value type this serializer handles. 269 Returned instance is to be constructed by method itself. 270<p> 271 Pre-condition for this method is that the parser points to the 272 first event that is part of value to deserializer (and which 273 is never JSON 'null' literal, more on this below): for simple 274 types it may be the only value; and for structured types the 275 Object start marker or a FIELD_NAME. 276 </p> 277 <p> 278 The two possible input conditions for structured types result 279 from polymorphism via fields. In the ordinary case, Jackson 280 calls this method when it has encountered an OBJECT_START, 281 and the method implementation must advance to the next token to 282 see the first field name. If the application configures 283 polymorphism via a field, then the object looks like the following. 284 <pre> 285 { 286 "@class": "class name", 287 ... 288 } 289 </pre> 290 Jackson consumes the two tokens (the <tt>@class</tt> field name 291 and its value) in order to learn the class and select the deserializer. 292 Thus, the stream is pointing to the FIELD_NAME for the first field 293 after the @class. Thus, if you want your method to work correctly 294 both with and without polymorphism, you must begin your method with: 295 <pre> 296 if (jp.getCurrentToken() == JsonToken.START_OBJECT) { 297 jp.nextToken(); 298 } 299 </pre> 300 This results in the stream pointing to the field name, so that 301 the two conditions align. 302 <p> 303 Post-condition is that the parser will point to the last 304 event that is part of deserialized value (or in case deserialization 305 fails, event that was not recognized or usable, which may be 306 the same event as the one it pointed to upon call). 307<p> 308 Note that this method is never called for JSON null literal, 309 and thus deserializers need (and should) not check for it.</div> 310<dl> 311<dt><strong>Specified by:</strong></dt> 312<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html#deserialize(com.fasterxml.jackson.core.JsonParser,%20com.fasterxml.jackson.databind.DeserializationContext)">deserialize</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>></code></dd> 313<dt><span class="strong">Parameters:</span></dt><dd><code>p</code> - Parsed used for reading JSON content</dd><dd><code>ctxt</code> - Context that can be used to access information about 314 this deserialization activity.</dd> 315<dt><span class="strong">Returns:</span></dt><dd>Deserialized value</dd> 316<dt><span class="strong">Throws:</span></dt> 317<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> 318</li> 319</ul> 320</li> 321</ul> 322</li> 323</ul> 324</div> 325</div> 326<!-- ========= END OF CLASS DATA ========= --> 327<!-- ======= START OF BOTTOM NAVBAR ====== --> 328<div class="bottomNav"><a name="navbar_bottom"> 329<!-- --> 330</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 331<!-- --> 332</a> 333<ul class="navList" title="Navigation"> 334<li><a href="../../../../../overview-summary.html">Overview</a></li> 335<li><a href="package-summary.html">Package</a></li> 336<li class="navBarCell1Rev">Class</li> 337<li><a href="class-use/NioPathDeserializer.html">Use</a></li> 338<li><a href="package-tree.html">Tree</a></li> 339<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 340<li><a href="../../../../../index-all.html">Index</a></li> 341<li><a href="../../../../../help-doc.html">Help</a></li> 342</ul> 343</div> 344<div class="subNav"> 345<ul class="navList"> 346<li><a href="../../../../../com/fasterxml/jackson/databind/ext/Java7SupportImpl.html" title="class in com.fasterxml.jackson.databind.ext"><span class="strong">Prev Class</span></a></li> 347<li><a href="../../../../../com/fasterxml/jackson/databind/ext/NioPathSerializer.html" title="class in com.fasterxml.jackson.databind.ext"><span class="strong">Next Class</span></a></li> 348</ul> 349<ul class="navList"> 350<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ext/NioPathDeserializer.html" target="_top">Frames</a></li> 351<li><a href="NioPathDeserializer.html" target="_top">No Frames</a></li> 352</ul> 353<ul class="navList" id="allclasses_navbar_bottom"> 354<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 355</ul> 356<div> 357<script type="text/javascript"><!-- 358 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 359 if(window==top) { 360 allClassesLink.style.display = "block"; 361 } 362 else { 363 allClassesLink.style.display = "none"; 364 } 365 //--> 366</script> 367</div> 368<div> 369<ul class="subNavList"> 370<li>Summary: </li> 371<li><a href="#nested_classes_inherited_from_class_com.fasterxml.jackson.databind.JsonDeserializer">Nested</a> | </li> 372<li><a href="#fields_inherited_from_class_com.fasterxml.jackson.databind.deser.std.StdDeserializer">Field</a> | </li> 373<li><a href="#constructor_summary">Constr</a> | </li> 374<li><a href="#method_summary">Method</a></li> 375</ul> 376<ul class="subNavList"> 377<li>Detail: </li> 378<li>Field | </li> 379<li><a href="#constructor_detail">Constr</a> | </li> 380<li><a href="#method_detail">Method</a></li> 381</ul> 382</div> 383<a name="skip-navbar_bottom"> 384<!-- --> 385</a></div> 386<!-- ======== END OF BOTTOM NAVBAR ======= --> 387<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 388</body> 389</html> 390