<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>匿名 &#8211; 编码无悔 /  Intent &amp; Focused</title>
	<atom:link href="https://www.codelast.com/tag/%E5%8C%BF%E5%90%8D/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.codelast.com</link>
	<description>最优化之路</description>
	<lastBuildDate>Tue, 03 May 2022 05:18:13 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>[原创] JAVA Jackson解析无名(匿名)数组</title>
		<link>https://www.codelast.com/%e5%8e%9f%e5%88%9b-java-jackson%e8%a7%a3%e6%9e%90%e6%97%a0%e5%90%8d%e5%8c%bf%e5%90%8d%e6%95%b0%e7%bb%84/</link>
					<comments>https://www.codelast.com/%e5%8e%9f%e5%88%9b-java-jackson%e8%a7%a3%e6%9e%90%e6%97%a0%e5%90%8d%e5%8c%bf%e5%90%8d%e6%95%b0%e7%bb%84/#respond</comments>
		
		<dc:creator><![CDATA[learnhard]]></dc:creator>
		<pubDate>Tue, 03 May 2022 05:18:13 +0000</pubDate>
				<category><![CDATA[原创]]></category>
		<category><![CDATA[综合]]></category>
		<category><![CDATA[jackson]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[匿名]]></category>
		<category><![CDATA[无名]]></category>
		<guid isPermaLink="false">https://www.codelast.com/?p=13557</guid>

					<description><![CDATA[<p>假设有JSON文件 1.json：</p>
<section class="output_wrapper" id="output_wrapper_id" style="font-size: 16px; color: rgb(62, 62, 62); line-height: 1.6; letter-spacing: 0px; font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin-top: 0px; margin-bottom: 0px; padding: 0px;">
<code class="json language-json hljs" style="margin: 0px 2px; line-height: 18px; font-size: 14px; letter-spacing: 0px; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0px; color: rgb(169, 183, 198); background: rgb(40, 43, 46); padding: 0.5em; overflow-wrap: normal !important; word-break: normal !important; overflow: auto !important; display: -webkit-box !important;">[
&#160;&#160;&#160;&#160;{
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span class="hljs-attr" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(165, 218, 45); word-wrap: inherit !important; word-break: inherit !important;">&#34;sku&#34;</span>:&#160;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(238, 220, 112); word-wrap: inherit !important; word-break: inherit !important;">&#34;ABC&#34;</span>,
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span class="hljs-attr" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(165, 218, 45); word-wrap: inherit !important; word-break: inherit !important;">&#34;num&#34;</span>:&#160;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(174, 135, 250); word-wrap: inherit !important; word-break: inherit !important;">3</span>
&#160;&#160;&#160;&#160;},
&#160;&#160;&#160;&#160;{
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span class="hljs-attr" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(165, 218, 45); word-wrap: inherit !important; word-break: inherit !important;">&#34;sku&#34;</span>:&#160;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(238, 220, 112); word-wrap: inherit !important; word-break: inherit !important;">&#34;DEF&#34;</span>,
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span class="hljs-attr" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(165, 218, 45); word-wrap: inherit !important; word-break: inherit !important;">&#34;num&#34;</span>:&#160;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(174, 135, 250); word-wrap: inherit !important; word-break: inherit !important;">2</span>
&#160;&#160;&#160;&#160;}
]
</code></pre>
</section>
<p>由中括号可知，这个JSON字符串映射成JAVA对象是一个List，而它里面又包含了两个JAVA对象（每个大括号对应一个）。<br />
<span id="more-13557"></span><br />
假设JSON字符串&#160;<span style="background-color: rgb(255, 255, 255); font-family: &#34;JetBrains Mono&#34;, Menlo, Monaco, &#34;Courier New&#34;, monospace; font-size: 15px; white-space: pre;">{ </span><span style="font-family: &#34;JetBrains Mono&#34;, Menlo, Monaco, &#34;Courier New&#34;, monospace; font-size: 15px; white-space: pre; color: rgb(4, 81, 165);">&#34;sku&#34;</span><span style="background-color: rgb(255, 255, 255); font-family: &#34;JetBrains Mono&#34;, Menlo, Monaco, &#34;Courier New&#34;, monospace; font-size: 15px; white-space: pre;">: </span><span style="font-family: &#34;JetBrains Mono&#34;, Menlo, Monaco, &#34;Courier New&#34;, monospace; font-size: 15px; white-space: pre; color: rgb(163, 21, 21);">&#34;ABC&#34;</span><span style="background-color: rgb(255, 255, 255); font-family: &#34;JetBrains Mono&#34;, Menlo, Monaco, &#34;Courier New&#34;, monospace; font-size: 15px; white-space: pre;">, </span><span style="font-family: &#34;JetBrains Mono&#34;, Menlo, Monaco, &#34;Courier New&#34;, monospace; font-size: 15px; white-space: pre; color: rgb(4, 81, 165);">&#34;num&#34;</span><span style="background-color: rgb(255, 255, 255); font-family: &#34;JetBrains Mono&#34;, Menlo, Monaco, &#34;Courier New&#34;, monospace; font-size: 15px; white-space: pre;">: </span><span style="font-family: &#34;JetBrains Mono&#34;, Menlo, Monaco, &#34;Courier New&#34;, monospace; font-size: 15px; white-space: pre; color: rgb(9, 134, 88);">3</span><span style="background-color: rgb(255, 255, 255); font-family: &#34;JetBrains Mono&#34;, Menlo, Monaco, &#34;Courier New&#34;, monospace; font-size: 15px; white-space: pre;"> }</span>&#160;映射成的POJO为：</p>
<section class="output_wrapper" id="output_wrapper_id" style="font-size: 16px; color: rgb(62, 62, 62); line-height: 1.6; letter-spacing: 0px; font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin-top: 0px; margin-bottom: 0px; padding: 0px;">
<code class="java language-java hljs" style="margin: 0px 2px; line-height: 18px; font-size: 14px; letter-spacing: 0px; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0px; color: rgb(169, 183, 198); background: rgb(40, 43, 46); padding: 0.5em; overflow-wrap: normal !important; word-break: normal !important; overflow: auto !important; display: -webkit-box !important;"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">public</span>&#160;<span class="hljs-class" style="font-size: inherit; color: inherit; line-height: inherit; margin: 0px; padding: 0px; word-wrap: inherit !important; word-break: inherit !important;"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">class</span>&#160;<span class="hljs-title" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(165, 218, 45); word-wrap: inherit !important; word-break: inherit !important;">SkuInfo</span>&#160;</span>{
&#160;&#160;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">private</span>&#160;String&#160;sku;
&#160;&#160;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">private</span>&#160;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">int</span>&#160;num;
}
</code></pre>
</section>
<p>那么，应该怎么用Jackson库来解析原JSON？<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a>&#8230; <a href="https://www.codelast.com/%e5%8e%9f%e5%88%9b-java-jackson%e8%a7%a3%e6%9e%90%e6%97%a0%e5%90%8d%e5%8c%bf%e5%90%8d%e6%95%b0%e7%bb%84/" class="read-more">Read More </a></p>]]></description>
										<content:encoded><![CDATA[<p>假设有JSON文件 1.json：</p>
<section class="output_wrapper" id="output_wrapper_id" style="font-size: 16px; color: rgb(62, 62, 62); line-height: 1.6; letter-spacing: 0px; font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;">
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin-top: 0px; margin-bottom: 0px; padding: 0px;">
<code class="json language-json hljs" style="margin: 0px 2px; line-height: 18px; font-size: 14px; letter-spacing: 0px; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0px; color: rgb(169, 183, 198); background: rgb(40, 43, 46); padding: 0.5em; overflow-wrap: normal !important; word-break: normal !important; overflow: auto !important; display: -webkit-box !important;">[
&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="hljs-attr" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(165, 218, 45); word-wrap: inherit !important; word-break: inherit !important;">&quot;sku&quot;</span>:&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(238, 220, 112); word-wrap: inherit !important; word-break: inherit !important;">&quot;ABC&quot;</span>,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="hljs-attr" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(165, 218, 45); word-wrap: inherit !important; word-break: inherit !important;">&quot;num&quot;</span>:&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(174, 135, 250); word-wrap: inherit !important; word-break: inherit !important;">3</span>
&nbsp;&nbsp;&nbsp;&nbsp;},
&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="hljs-attr" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(165, 218, 45); word-wrap: inherit !important; word-break: inherit !important;">&quot;sku&quot;</span>:&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(238, 220, 112); word-wrap: inherit !important; word-break: inherit !important;">&quot;DEF&quot;</span>,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="hljs-attr" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(165, 218, 45); word-wrap: inherit !important; word-break: inherit !important;">&quot;num&quot;</span>:&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(174, 135, 250); word-wrap: inherit !important; word-break: inherit !important;">2</span>
&nbsp;&nbsp;&nbsp;&nbsp;}
]
</code></pre>
</section>
<p>由中括号可知，这个JSON字符串映射成JAVA对象是一个List，而它里面又包含了两个JAVA对象（每个大括号对应一个）。<br />
<span id="more-13557"></span><br />
假设JSON字符串&nbsp;<span style="background-color: rgb(255, 255, 255); font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre;">{ </span><span style="font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre; color: rgb(4, 81, 165);">&quot;sku&quot;</span><span style="background-color: rgb(255, 255, 255); font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre;">: </span><span style="font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre; color: rgb(163, 21, 21);">&quot;ABC&quot;</span><span style="background-color: rgb(255, 255, 255); font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre;">, </span><span style="font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre; color: rgb(4, 81, 165);">&quot;num&quot;</span><span style="background-color: rgb(255, 255, 255); font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre;">: </span><span style="font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre; color: rgb(9, 134, 88);">3</span><span style="background-color: rgb(255, 255, 255); font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre;"> }</span>&nbsp;映射成的POJO为：</p>
<section class="output_wrapper" id="output_wrapper_id" style="font-size: 16px; color: rgb(62, 62, 62); line-height: 1.6; letter-spacing: 0px; font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;">
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin-top: 0px; margin-bottom: 0px; padding: 0px;">
<code class="java language-java hljs" style="margin: 0px 2px; line-height: 18px; font-size: 14px; letter-spacing: 0px; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0px; color: rgb(169, 183, 198); background: rgb(40, 43, 46); padding: 0.5em; overflow-wrap: normal !important; word-break: normal !important; overflow: auto !important; display: -webkit-box !important;"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">public</span>&nbsp;<span class="hljs-class" style="font-size: inherit; color: inherit; line-height: inherit; margin: 0px; padding: 0px; word-wrap: inherit !important; word-break: inherit !important;"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">class</span>&nbsp;<span class="hljs-title" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(165, 218, 45); word-wrap: inherit !important; word-break: inherit !important;">SkuInfo</span>&nbsp;</span>{
&nbsp;&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">private</span>&nbsp;String&nbsp;sku;
&nbsp;&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">private</span>&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">int</span>&nbsp;num;
}
</code></pre>
</section>
<p>那么，应该怎么用Jackson库来解析原JSON？<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
由于JSON字符串&nbsp;<span style="background-color: rgb(255, 255, 255); font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre;">{ </span><span style="font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre; color: rgb(4, 81, 165);">&quot;sku&quot;</span><span style="background-color: rgb(255, 255, 255); font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre;">: </span><span style="font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre; color: rgb(163, 21, 21);">&quot;ABC&quot;</span><span style="background-color: rgb(255, 255, 255); font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre;">, </span><span style="font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre; color: rgb(4, 81, 165);">&quot;num&quot;</span><span style="background-color: rgb(255, 255, 255); font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre;">: </span><span style="font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre; color: rgb(9, 134, 88);">3</span><span style="background-color: rgb(255, 255, 255); font-family: &quot;JetBrains Mono&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 15px; white-space: pre;"> }</span>&nbsp;是无名（匿名）的，所以要用这样的方法来解析它：</p>
<section class="output_wrapper" id="output_wrapper_id" style="font-size: 16px; color: rgb(62, 62, 62); line-height: 1.6; letter-spacing: 0px; font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;">
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin-top: 0px; margin-bottom: 0px; padding: 0px;">
<code class="java language-java hljs" style="margin: 0px 2px; line-height: 18px; font-size: 14px; letter-spacing: 0px; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0px; color: rgb(169, 183, 198); background: rgb(40, 43, 46); padding: 0.5em; overflow-wrap: normal !important; word-break: normal !important; overflow: auto !important; display: -webkit-box !important;"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">final</span>&nbsp;ObjectMapper&nbsp;mapper&nbsp;=&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">new</span>&nbsp;ObjectMapper();
SkuInfo[]&nbsp;skuInfos&nbsp;=&nbsp;mapper.readValue(FileUtils.readFileToString(<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">new</span>&nbsp;File(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(238, 220, 112); word-wrap: inherit !important; word-break: inherit !important;">&quot;1.json&quot;</span>),&nbsp;Charsets.UTF_8),&nbsp;SkuInfo[].class);
</code></pre>
</section>
<p>或者你不想把JSON解析成一个JAVA数组，而是一个List的话，可以这么做：</p>
<section class="output_wrapper" id="output_wrapper_id" style="font-size: 16px; color: rgb(62, 62, 62); line-height: 1.6; letter-spacing: 0px; font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;">
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin-top: 0px; margin-bottom: 0px; padding: 0px;">
<code class="java language-java hljs" style="margin: 0px 2px; line-height: 18px; font-size: 14px; letter-spacing: 0px; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0px; color: rgb(169, 183, 198); background: rgb(40, 43, 46); padding: 0.5em; overflow-wrap: normal !important; word-break: normal !important; overflow: auto !important; display: -webkit-box !important;">List&lt;SkuInfo&gt;&nbsp;skuInfos&nbsp;=&nbsp;MAPPER.readValue(FileUtils.readFileToString(<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">new</span>&nbsp;File(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(238, 220, 112); word-wrap: inherit !important; word-break: inherit !important;">&quot;1.json&quot;</span>),&nbsp;Charsets.UTF_8),
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0px; padding: 0px; color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">new</span>&nbsp;TypeReference&lt;List&lt;SkuInfo&gt;&gt;()&nbsp;{});
</code></pre>
</section>
<p>
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;版权声明&nbsp;<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;<br />
转载需注明出处：<u><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><em><span style="color: rgb(0, 0, 255);"><strong style="font-size: 16px;"><span style="font-family: arial, helvetica, sans-serif;">codelast.com</span></strong></span></em></a></u>&nbsp;<br />
感谢关注我的微信公众号（微信扫一扫）：<br />
<img decoding="async" alt="wechat qrcode of codelast" src="https://www.codelast.com/codelast_wechat_qr_code.jpg" style="color: rgb(77, 77, 77); font-size: 13px; width: 200px; height: 200px;" /><br />
以及我的微信视频号：</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 9px; outline: 0px; padding: 0px; color: rgb(77, 77, 77);">
	<img decoding="async" alt="" src="https://www.codelast.com/wechat_shipinhao_qr_code.jpg" style="text-align: center; width: 200px; height: 199px;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codelast.com/%e5%8e%9f%e5%88%9b-java-jackson%e8%a7%a3%e6%9e%90%e6%97%a0%e5%90%8d%e5%8c%bf%e5%90%8d%e6%95%b0%e7%bb%84/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
