You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Noble Paul (Jira)" <ji...@apache.org> on 2019/10/21 19:50:00 UTC

[jira] [Comment Edited] (SOLR-13841) Add jackson databind annotations to SolrJ classpath

    [ https://issues.apache.org/jira/browse/SOLR-13841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16956397#comment-16956397 ] 

Noble Paul edited comment on SOLR-13841 at 10/21/19 7:49 PM:
-------------------------------------------------------------

{quote} * Could you please be more specific within the SolrJ codebase as to what classes would benefit{quote}
We would like to have Strongly typed POJO based upstream/downstream data from SolrJ. We should be able to use the same objects in Server/Client so as to avoid duplication of code. 
 The same objects can be used by users of SolrJ to serialize their data downstream

So we will have to decide what JSON framework to use. The options are
 * Use an existing library . [see this list|https://simplesolution.dev/top-5-libraries-for-serialization-and-deserialization-json-in-java/]
 * Use a shaded version of an existing library
 * Roll your own


was (Author: noble.paul):
{quote} * Could you please be more specific within the SolrJ codebase as to what classes would benefit{quote}
We would like to have Strongly typed POJO based upstream/downstream data from SolrJ. We should be able to use the same objects in Server/Client so as to avoid duplication of code. 
 The same objects can be used by users of SolrJ to serialize their data downstream

So we will have to decide what JSON framework to use the options are
 * Use an existing library
 * Use a shaded version of an existing library
 * Roll your own

> Add jackson databind annotations to SolrJ classpath
> ---------------------------------------------------
>
>                 Key: SOLR-13841
>                 URL: https://issues.apache.org/jira/browse/SOLR-13841
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> We can start using annotations in SolrJ to minimize the amount of code we write & improve readability. Jackson is a widely used library and everyone is already familiar with it



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org