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

Anthony Watkins commented on AVRO-1126:
---------------------------------------

It is great to see this direction. We have adopted Avro at Flurry to support 
our ad serving protocol using Avro-C for our iOS sdk and Avro Java for Android 
and on our server. It works great, but the 1 significant downside has been the 
reliance on the jackson lib. Nothing against Jackson, it's a great lib, however 
the size of the jackson-mapper classes were 700-800Kb, which increased our sdk 
size about 4x. In mobile, this becomes an issue particularly since we are a 3rd 
party lib. We had started some effort to refactor jackson out, but decided it 
was too woven into the code and we were concerned upgrading to future version 
of Avro would prove difficult because of this.

An abstracted api would great, hopefully one in which we could even plug in the 
native Android json parser.

> Upgrade to Jackson 2+
> ---------------------
>
>                 Key: AVRO-1126
>                 URL: https://issues.apache.org/jira/browse/AVRO-1126
>             Project: Avro
>          Issue Type: Task
>          Components: java
>            Reporter: James Tyrrell
>            Priority: Critical
>             Fix For: 1.8.0
>
>
> Quite annoyingly with Jackson 2+ the base package name has changed from 
> org.codehaus.jackson to com.fasterxml.jackson so in addition to changing the 
> dependencies from:
> {code:xml} 
> <dependency>
>     <groupId>org.codehaus.jackson</groupId>
>     <artifactId>jackson-core-asl</artifactId>
>     <version>${jackson.version}</version>
> </dependency>
> <dependency>
>     <groupId>org.codehaus.jackson</groupId>
>     <artifactId>jackson-mapper-asl</artifactId>
>     <version>${jackson.version}</version>
> </dependency>
> {code} 
> to:
> {code:xml} 
> <dependency>
>     <groupId>com.fasterxml.jackson.core</groupId>
>     <artifactId>jackson-core</artifactId>
>     <version>${jackson.version}</version>
> </dependency>
> <dependency>
>     <groupId>com.fasterxml.jackson.core</groupId>
>     <artifactId>jackson-databind</artifactId>
>     <version>${jackson.version}</version>
> </dependency>
> {code} 
> the base package in the code needs to be updated. More info can be found 
> [here|http://wiki.fasterxml.com/JacksonUpgradeFrom19To20], I am happy to do 
> the work just let me know what is preferable i.e. should I just attach a 
> patch to this issue?



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to