<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:41:46 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>[CSHARP-2155] ObjectSerializer does not properly serialize c# Decimal type</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2155</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;When ObjectSerializer needs to serialize a decimal (Decimal, not Decimal128), it is treated as an object and serialized to {_t: &quot;System.Decimal&quot;, _v: &quot;1.5&quot; }.&lt;/p&gt;</description>
                <environment>Windows 10</environment>
        <key id="487657">CSHARP-2155</key>
            <summary>ObjectSerializer does not properly serialize c# Decimal type</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="13202">Works as Designed</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="Yarin">Yarin [X]</reporter>
                        <labels>
                            <label>decimal-data-type</label>
                            <label>question</label>
                            <label>serialization</label>
                    </labels>
                <created>Fri, 26 Jan 2018 07:33:59 +0000</created>
                <updated>Fri, 27 Oct 2023 13:25:03 +0000</updated>
                            <resolved>Wed, 31 Jan 2018 16:09:43 +0000</resolved>
                                    <version>2.4</version>
                    <version>2.4.1</version>
                    <version>2.4.2</version>
                    <version>2.4.3</version>
                    <version>2.4.4</version>
                    <version>2.5</version>
                                                    <component>BSON</component>
                    <component>Serialization</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1790625" author="rstam" created="Wed, 31 Jan 2018 16:09:24 +0000"  >&lt;p&gt;We can&apos;t change this, because .NET&apos;s Decimal type and BSON&apos;s Decimal128 type are not the same thing. They are both 128 bits long, but the bits are interpreted differently and the types have a different range of values.&lt;/p&gt;

&lt;p&gt;A .NET Decimal has to be serialized with a discriminator (the &quot;_t&quot; part) so that during deserialization ObjectSerializer can figure out that the value is a .NET Decimal.&lt;/p&gt;

&lt;p&gt;When ObjectSerializer encounters a BSON Decimal128 during deserialization it deserializes it into an instance of the BsonDecimal128 class (not the .NET Decimal class).&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|htgcwf:</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>