What's the "right" way to convert between Json and JsonBuffer in rapture-json? Embarrassed to say I can't work it out from the source.
-
-
Replying to @RobElliot266
.
@RobElliot266@joescii It's not exactly easy to read! ;) You have two options each way: j.as[JsonBuffer] JsonBuffer(j) Json(jb) jb.as[Json]1 reply 1 retweet 1 like -
Replying to @propensive
@propensive@joescii thanks - that was what I expected and thought I'd tried... I'll revisit!1 reply 0 retweets 0 likes -
Replying to @RobElliot266
@RobElliot266@joescii Make sure you're using the latest version (1.0.8) though I think the issues around conversion were fixed in 1.0.4ish.3 replies 0 retweets 0 likes -
Replying to @propensive
@propensive also Json.parse(src) does not return Json, but conversion works fine with ThrowExceptions[Nothing]#Wrap[Json, ParseException]1 reply 0 retweets 0 likes -
Replying to @RobElliot266
@RobElliot266 Interesting. That's the same type, before dealiasing. Can you reproduce that in a small example?2 replies 0 retweets 0 likes
@RobElliot266 Is the mode (i.e. throwExceptions) being specified explicitly somewhere?
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.