<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:51:31 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>[JAVA-104] Support for streams in com.mongodb.util.JSON</title>
                <link>https://jira.mongodb.org/browse/JAVA-104</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;It would be nice if the JSON class supported streams in addition to strings as sources and targets for JSON during parsing and serialization. In particular, I am interested in providing JSON forms to the parser via an InputStream for situations where (a) the JSON objects are very large and more importantly (b) for situations where you want to parse JSON forms from a source one after the other (i.e. a file with a series of JSON forms one after the other). It would be nice if I could create a parser object, provide it with an Input Stream, and then call parse() repeatedly, with the parser parsing and consuming from the stream one JSON object per call. &lt;/p&gt;

&lt;p&gt;Supporting serialization to OutputStreams would be for symmetry, but also useful for similar reasons.&lt;/p&gt;</description>
                <environment></environment>
        <key id="11788">JAVA-104</key>
            <summary>Support for streams in com.mongodb.util.JSON</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="william.shulman@gmail.com">William Shulman</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Apr 2010 22:00:30 +0000</created>
                <updated>Wed, 21 Sep 2016 21:14:02 +0000</updated>
                            <resolved>Wed, 21 Sep 2016 21:14:02 +0000</resolved>
                                                                    <component>API</component>
                                        <votes>1</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1390344" author="jeff.yemin" created="Wed, 21 Sep 2016 21:14:02 +0000"  >&lt;p&gt;New development for JSON is being done in the JsonReader and JsonWriter classes. We won&apos;t be enhancing com.mongodb.util.JSON.&lt;/p&gt;</comment>
                            <comment id="19512" author="voronaam" created="Fri, 22 Oct 2010 18:27:24 +0000"  >&lt;p&gt;Attached is the class I use in my project to parse JSON streams.&lt;/p&gt;

&lt;p&gt;If this code is useful to MongoDB developers, you are free to use it.&lt;/p&gt;

&lt;p&gt;This parser is based on MongoDB default JSON parser, but it differs:&lt;br/&gt;
1. it tolerates unquoted strings&lt;br/&gt;
2. it accepts both single and double quoted string&lt;br/&gt;
3. It uses checked exceptions wherever possible (for better error handling).&lt;br/&gt;
4. It supports multiple JSON entities in input stream.&lt;br/&gt;
5. error doesn&apos;t have offending character pointer (though it tries to print incorrect object from the beginning).&lt;/p&gt;

&lt;p&gt;Feel free to contact me if you want me to improve this code or merge it to MongoDB Java driver source tree.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10531" name="EJSON.java" size="12315" author="voronaam" created="Fri, 22 Oct 2010 18:27:24 +0000"/>
                            <attachment id="10532" name="EJSONParseException.java" size="1258" author="voronaam" created="Fri, 22 Oct 2010 18:27:24 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrga07:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8522</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>