<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:00 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-1083] mongoimport: option to support an array of json objects</title>
                <link>https://jira.mongodb.org/browse/SERVER-1083</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Many public API&apos;s (twitter, for example) return a collection of json objects for a request for a collection of resources. The mongoimport tool only understands newline-delimited json objects in a file. In other words, it only understands one json object at a time. It seems like mongoimport should know how to understand these collections natively. For example, trying the following will result in an error:&lt;/p&gt;

&lt;p&gt;curl &lt;a href=&quot;http://api.twitter.com//1/statuses/user_timeline.json?screen_name=noradio&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.twitter.com//1/statuses/user_timeline.json?screen_name=noradio&lt;/a&gt; &amp;gt; noradio.twitter.json&lt;br/&gt;
mongoimport -d twitter -c noradio --file=noradio.twitter.json&lt;/p&gt;</description>
                <environment>os x</environment>
        <key id="11889">SERVER-1083</key>
            <summary>mongoimport: option to support an array of json objects</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="ajsharp">Alex Sharp</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 May 2010 05:12:19 +0000</created>
                <updated>Tue, 12 Jul 2016 00:28:31 +0000</updated>
                            <resolved>Mon, 14 Jun 2010 11:10:56 +0000</resolved>
                                    <version>1.5.1</version>
                                    <fixVersion>1.5.3</fixVersion>
                                                        <votes>2</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="17654" author="eliot" created="Wed, 1 Sep 2010 01:41:21 +0000"  >&lt;p&gt;@maxime if you want to increase the limit, can you open a new case.  this one shouldn&apos;t be modified anymore&lt;/p&gt;</comment>
                            <comment id="17446" author="mbizon" created="Thu, 26 Aug 2010 04:51:57 +0000"  >
&lt;p&gt;Hi Mathias,&lt;/p&gt;

&lt;p&gt;I just hit the array size limit. The generated data comes from a perl script, where it is handy to put everything in a array or hash, and at the end JSON::encode the whole thing.&lt;/p&gt;

&lt;p&gt;I can certainly put the loop in the perl script to generate one line per entry, but it doesn&apos;t seem natural.&lt;/p&gt;

&lt;p&gt;Any chance this limit could be raised ?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;</comment>
                            <comment id="14725" author="redbeard0531" created="Mon, 14 Jun 2010 11:10:56 +0000"  >&lt;p&gt;Right now the array must be &amp;lt;4MB. Let me know if that is an issue.&lt;/p&gt;</comment>
                            <comment id="14724" author="auto" created="Mon, 14 Jun 2010 10:58:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;RedBeard0531&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;, &apos;email&apos;: &apos;redbeard0531@gmail.com&apos;}
&lt;p&gt;Message: test for --jsonArray &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1083&quot; title=&quot;mongoimport: option to support an array of json objects&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1083&quot;&gt;&lt;del&gt;SERVER-1083&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/b52051be9340e0ddf4b2d0d75339647654a47d9d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/b52051be9340e0ddf4b2d0d75339647654a47d9d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="14723" author="auto" created="Mon, 14 Jun 2010 10:57:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;RedBeard0531&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;, &apos;email&apos;: &apos;redbeard0531@gmail.com&apos;}
&lt;p&gt;Message: --jsonArray for mongoexport &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1083&quot; title=&quot;mongoimport: option to support an array of json objects&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1083&quot;&gt;&lt;del&gt;SERVER-1083&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/78cb3cfc87981128b50211ba9efd6496ceb7b17c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/78cb3cfc87981128b50211ba9efd6496ceb7b17c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="14722" author="auto" created="Mon, 14 Jun 2010 10:57:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;RedBeard0531&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;, &apos;email&apos;: &apos;redbeard0531@gmail.com&apos;}
&lt;p&gt;Message: --jsonArray for mongoimport &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1083&quot; title=&quot;mongoimport: option to support an array of json objects&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1083&quot;&gt;&lt;del&gt;SERVER-1083&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/dc95ed05762010809d000354a6a9a251c39066fd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/dc95ed05762010809d000354a6a9a251c39066fd&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 14 Jun 2010 10:57:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 25 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 25 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ajsharp</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>mbizon</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpmsv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrip4f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22722</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0isf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>