This repository has been archived by the owner. It is now read-only.
Extract to case-class-like types #23
Open
Comments
|
Just to add some background, I'm trying to deserialize JSON into classes that have been generated from a Thrift definition by Scrooge. So the code looks like https://gist.github.com/cb372/2d19d5f84af39f4edcd5 |
|
By the way we fixed json4s to handle this. See json4s/json4s#288 and json4s/json4s#293 |
|
Ah, cool - thanks for letting me know! |
|
I'll keep this open, because I'd still like to have the feature, though... |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We should generalize extraction of case-class types to any type which has a factory-like
applymethod on its companion object (for which all parameters are types which are extractable).We could also investigate support for serializing to types with
unapplymethods.The text was updated successfully, but these errors were encountered: