Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to customize spray-json JsonProtocol #8

Open
lcor1979 opened this issue Feb 2, 2017 · 0 comments
Open

Possibility to customize spray-json JsonProtocol #8

lcor1979 opened this issue Feb 2, 2017 · 0 comments

Comments

@lcor1979
Copy link

lcor1979 commented Feb 2, 2017

Hi,

I'm using slack-scala-bot-core 0.2.1 which depends on spray-json 1..3.1.
No I've added a dependency to akka-http-spray-json 10.0.3 which depends on spray-json 1.3.3.

The problem is that there is an incompatibility in the API between spray-json 1.3.1 and 1.3.3 which causes an error :

java.lang.NoSuchMethodError: spray.json.StandardFormats$class.optionFormat(Lspray/json/StandardFormats;Lspray/json/JsonFormat;)Lspray/json/StandardFormats$OptionFormat;

spray/spray-json#158

A possible fix would be to recompile slack-scala-bot-core with spray-json 1.3.3 but that means I have to embed this version in my project.

Is there a possibility to customize or replace the Unmarshallers object used in ApiActor ?

Thank you

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

No branches or pull requests

1 participant