1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Pick up lowercase name in from_entries

This commit is contained in:
David Tolnay
2015-10-17 20:52:22 -07:00
parent e42e0134f6
commit 17b5a6eb2a
2 changed files with 8 additions and 8 deletions

View File

@@ -1819,7 +1819,7 @@ Multiplication, division, modulo - <code>*</code>, <code>/</code>, and <code>%</
<p>These functions convert between an object and an array of key-value pairs. If <code>to_entries</code> is passed an object, then for each <code>k: v</code> entry in the input, the output array includes <code>{&quot;key&quot;: k, &quot;value&quot;: v}</code>.</p>
<p><code>from_entries</code> does the opposite conversion, and <code>with_entries(foo)</code> is a shorthand for <code>to_entries |
map(foo) | from_entries</code>, useful for doing some operation to all keys and values of an object. <code>from_entries</code> accepts key, Key, Name, value and Value as keys.</p>
map(foo) | from_entries</code>, useful for doing some operation to all keys and values of an object. <code>from_entries</code> accepts key, Key, name, Name, value and Value as keys.</p>

View File

@@ -2,37 +2,37 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://stedolan.github.io/jq</loc>
<lastmod>2015-10-13</lastmod>
<lastmod>2015-10-14</lastmod>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>https://stedolan.github.io/jq/tutorial/</loc>
<lastmod>2015-10-13</lastmod>
<lastmod>2015-10-14</lastmod>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>https://stedolan.github.io/jq/manual/</loc>
<lastmod>2015-10-13</lastmod>
<lastmod>2015-10-18</lastmod>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>https://stedolan.github.io/jq/manual/v1.3/</loc>
<lastmod>2015-10-13</lastmod>
<lastmod>2015-10-14</lastmod>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>https://stedolan.github.io/jq/manual/v1.4/</loc>
<lastmod>2015-10-13</lastmod>
<lastmod>2015-10-14</lastmod>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>https://stedolan.github.io/jq/manual/v1.5/</loc>
<lastmod>2015-10-13</lastmod>
<lastmod>2015-10-14</lastmod>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>https://stedolan.github.io/jq/download/</loc>
<lastmod>2015-10-13</lastmod>
<lastmod>2015-10-14</lastmod>
<changefreq>monthly</changefreq>
</url>
</urlset>