@propensive what's the probability that rapture-json can deserialise a trait + companion obj with an apply method?
-
-
Replying to @cbirchall
@cbirchall You'll need to write your own deserializer, but it should work...1 reply 0 retweets 0 likes -
Replying to @propensive
@propensive thanks, but that's the painful bit I was hoping to avoid...#suppressingtheurgetowriteamacro2 replies 0 retweets 0 likes -
Replying to @cbirchall
@cbirchall This seems worthwhile. I've just created an issue for it: https://github.com/propensive/rapture/issues/23 … I'll sort it out post-Scala-World, probably.1 reply 0 retweets 0 likes -
Replying to @propensive
@propensive great answer! I'll add some more details on the issue2 replies 0 retweets 0 likes -
Replying to @cbirchall
@cbirchall Incidentally, an extractor might look like: implicit def e = Json.extractor[Json].map { j => Cc(http://j.foo.as [Int]) }2 replies 0 retweets 0 likes
@cbirchall It starts from the `Json` (i.e. no-op) extractor, and maps across it to provide an implicit extractor for the `Cc` type.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.