<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:56:01 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-1982] Strict JSONSerializer writes Date values as long</title>
                <link>https://jira.mongodb.org/browse/JAVA-1982</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Documentation of &lt;em&gt;JSONSerializers#getStrict()&lt;/em&gt; tells that it follows &lt;a href=&quot;http://docs.mongodb.org/manual/reference/mongodb-extended-json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;strict json format&lt;/a&gt;. However, the used &lt;em&gt;DateSerializer&lt;/em&gt; always writes &lt;em&gt;Date&lt;/em&gt; instances using &lt;em&gt;date.getTime()&lt;/em&gt;, i.e. dates written as long values which does not match the documentation regarding &lt;a href=&quot;http://docs.mongodb.org/manual/reference/mongodb-extended-json/#date&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;dates&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Btw it would be nice to customize the used Serializers, e.g. like mentioned in &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1175&quot; title=&quot;Expose com.mongodb.util.ClassMapBasedObjectSerializer to Allow Overriding of ObjectSerializers for Specific Types&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1175&quot;&gt;&lt;del&gt;JAVA-1175&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="231506">JAVA-1982</key>
            <summary>Strict JSONSerializer writes Date values as long</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Anz">Andreas Zink [X]</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Sep 2015 09:17:46 +0000</created>
                <updated>Fri, 8 Dec 2017 21:09:37 +0000</updated>
                            <resolved>Fri, 8 Dec 2017 21:09:37 +0000</resolved>
                                    <version>2.13.0</version>
                                                    <component>Documentation</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1747383" author="jeff.yemin" created="Fri, 8 Dec 2017 21:09:37 +0000"  >&lt;p&gt;The JSON class is now deprecated so closing this as Won&apos;t Fix.  Please use JsonWriter, which is now extensively customizable.&lt;/p&gt;</comment>
                            <comment id="1385526" author="jeff.yemin" created="Thu, 15 Sep 2016 17:56:49 +0000"  >&lt;p&gt;Strict JSON mode has changed over time, which is why JSONSerializers#getStrict() no longer conforms to the &lt;a href=&quot;http://docs.mongodb.org/manual/reference/mongodb-extended-json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;strict mode documentation&lt;/a&gt;.  We will document this in the API docs.&lt;/p&gt;

&lt;p&gt;Any customization to JSON will happen using the JsonWriter class introduced in the 3.0 driver.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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|hsdbyf:</customfieldvalue>

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