<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:54:18 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-1314] Create Jackson-based implementation of Codec</title>
                <link>https://jira.mongodb.org/browse/JAVA-1314</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Create a Codec implementation on top of the Jackson JSON library as proof that the abstraction is correct and so that there is at least one functional POJO codec that people can use with the 3.0 driver&apos;s generic collection API.&lt;/p&gt;</description>
                <environment></environment>
        <key id="148087">JAVA-1314</key>
            <summary>Create Jackson-based implementation of Codec</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Jul 2014 13:20:22 +0000</created>
                <updated>Thu, 25 Jan 2018 15:50:55 +0000</updated>
                            <resolved>Thu, 25 Jan 2018 15:50:55 +0000</resolved>
                                                                    <component>Codecs</component>
                                        <votes>9</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="1784810" author="jeff.yemin" created="Thu, 25 Jan 2018 15:50:55 +0000"  >&lt;p&gt;Closing as duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2483&quot; title=&quot;Add support for Jackson Java JSON serialization library&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2483&quot;&gt;JAVA-2483&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1540959" author="rage-shadowman" created="Tue, 4 Apr 2017 23:20:04 +0000"  >&lt;p&gt;@aleksey, Yes, and now that the jackson-compatible &lt;tt&gt;JSON.serialize&lt;/tt&gt; method has been deprecated, we are left with a hole here. Please release this library soon.&lt;/p&gt;</comment>
                            <comment id="1432155" author="aleksey.korolev" created="Fri, 11 Nov 2016 18:05:44 +0000"  >&lt;p&gt;Not having this available push people to using straightforward approach: get Document from MongoCollection, serialize it to JSON string and feed that string to Jackson to obtain their Jackson annotated POJO. Voting for making Jackson codec publicly available.&lt;/p&gt;</comment>
                            <comment id="963869" author="gastmeier" created="Sat, 11 Jul 2015 10:07:28 +0000"  >&lt;p&gt;I am interested to take a look. Do you think that the test cases are exhausting?&lt;/p&gt;</comment>
                            <comment id="963201" author="ylemoigne" created="Fri, 10 Jul 2015 14:56:42 +0000"  >&lt;p&gt;Hi.&lt;/p&gt;

&lt;p&gt;No sorry. I did not took the time to investigate further why tests are failing. I won&apos;t have much time in the next weeks :s.&lt;br/&gt;
I can share the branch if someone is interested to take a look.&lt;/p&gt;</comment>
                            <comment id="963192" author="jeff.yemin" created="Fri, 10 Jul 2015 14:52:25 +0000"  >&lt;p&gt;I have not yet.  Any update from you, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ylemoigne&quot; class=&quot;user-hover&quot; rel=&quot;ylemoigne&quot;&gt;ylemoigne&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="963185" author="gastmeier" created="Fri, 10 Jul 2015 14:45:29 +0000"  >&lt;p&gt;Anything new on this topic? Did you create a seperate repository? Is there a solution with zero byte array copies available?&lt;/p&gt;</comment>
                            <comment id="898609" author="jeff.yemin" created="Mon, 27 Apr 2015 12:18:08 +0000"  >&lt;p&gt;The extraction would be to benefit the whole community.  We will consider maintaining this ourselves, even if in a separate repository.&lt;/p&gt;</comment>
                            <comment id="898607" author="ylemoigne" created="Mon, 27 Apr 2015 12:11:27 +0000"  >&lt;p&gt;Yes I saw, minor glitch in one file.&lt;/p&gt;

&lt;p&gt;Don&#8217;t worry to extract pull request in another repository, I&#8217;ve already fetched the files. I&#8217;ve fixed the compilation problem, but now, most of tests case are in failure, I&#8217;ll take a deeper look next week end.&lt;/p&gt;


</comment>
                            <comment id="898604" author="jeff.yemin" created="Mon, 27 Apr 2015 12:04:49 +0000"  >&lt;p&gt;It&apos;s going to take a little more work than I thought.  That pull request doesn&apos;t compile, and after fixing the compilation error there are failing tests.&lt;/p&gt;</comment>
                            <comment id="898261" author="jeff.yemin" created="Sun, 26 Apr 2015 14:19:59 +0000"  >&lt;p&gt;Sounds great.   I&apos;ll pull this this PR out into a separate repository so that it can forked.  &lt;/p&gt;</comment>
                            <comment id="898251" author="ylemoigne" created="Sun, 26 Apr 2015 13:04:09 +0000"  >&lt;p&gt;Hi Jeff,&lt;/p&gt;

&lt;p&gt;Thanks for pointing me to this PR, I&apos;ve taken a very quick look, I think I&apos;ll take it as a base to drop bson4jackson.&lt;/p&gt;

&lt;p&gt;I perfectly understand that you don&apos;t want to take jackson dependency in mongo-java-driver and it&apos;s a good separation of concern to get jackson codec in another repo.&lt;/p&gt;

&lt;p&gt;I think that there is a lot of interest for a Jackson codec. It&apos;s a common usecase in java word to have a REST API consuming and producing json, and Jackson is the most used (de)serializer. As a developper, I don&apos;t want to have many mapping definition nor many JSON technologies. And I don&apos;t want to write boilerplate code to convert one representation from/to the other.&lt;/p&gt;</comment>
                            <comment id="898244" author="jeff.yemin" created="Sun, 26 Apr 2015 12:44:34 +0000"  >&lt;p&gt;Hi Yann,&lt;/p&gt;

&lt;p&gt;Thanks for posting your POC.  I neglected to note on the ticket that there is already an outstanding pull request for this: &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/pull/238&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/pull/238&lt;/a&gt;.   We ended up parking it so as not to take a Jackson dependency for the project as a whole.  We would consider publishing it in a separate repo if there is interest.&lt;/p&gt;

&lt;p&gt;The approach in this pull request is a bit different than the one you took. In order to avoid the extra byte array copies that are necessary when using bson4jackson and RawBsonDocumentCodec, it implements its own Jackson codec directly on top of BsonReader and BsonWriter.  &lt;/p&gt;

&lt;p&gt;Please have a look and let us know what you think.&lt;/p&gt;

&lt;p&gt;Regards&lt;br/&gt;
Jeff&lt;/p&gt;</comment>
                            <comment id="898231" author="ylemoigne" created="Sun, 26 Apr 2015 11:30:49 +0000"  >&lt;p&gt;I made a POC here : &lt;a href=&quot;https://github.com/ylemoigne/mongo-jackson-codec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/ylemoigne/mongo-jackson-codec&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="370923">JAVA-2483</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|htg8s7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1502</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="239">Sprint  5 - July 7 - July 25</customfieldvalue>
    <customfieldvalue id="251">Java Sprint 6</customfieldvalue>

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