Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Update Jackson 2 #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update Jackson 2 #132

wants to merge 1 commit into from

Conversation

paour
Copy link

@paour paour commented Jun 23, 2016

Annotations need to be preserved (the rule may be a bit too broad; I left another setting that also works commented out).

Annotations need to be preserved (the rule may be a bit too broad; I left another setting that also works commented out).
@Caerbannog
Copy link

This didn't quite work for me.
I ended with the following solution:

# Proguard configuration for Jackson 2.x (fasterxml package instead of codehaus package)

-keep class com.fasterxml.jackson.databind.ObjectMapper {
    public <methods>;
    protected <methods>;
}
-keep class com.fasterxml.jackson.databind.ObjectWriter {
    public ** writeValueAsString(**);
}

-keep class com.fasterxml.jackson.annotation.** { *; }
-dontwarn org.w3c.dom.bootstrap.DOMImplementationRegistry
-dontwarn com.fasterxml.jackson.databind.**

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants