-
Notifications
You must be signed in to change notification settings - Fork 703
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
Adds a typedjson source #1129
Adds a typedjson source #1129
Conversation
It's not a showstopper, can't see how it would cause trouble, just wondering why we need two json libraries. |
Well json4s is just nicer for scala, and we've tested that it works well internally. |
import Dsl._ | ||
import TypedJson._ | ||
|
||
val fieldSym = 'jsonString |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be private?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess to use this with the Fields API you'd need it. Nevermind.
merge when green. |
I took a stab at using jackson last night just to see what's involved. Switching to the jackson API was easy, but I got hung up on adding a JobTest that exercises the source -- if Anyway, probably not a huge deal, if we get classpath issues later we can revisit (json4s can apparently be backed by jackson, not sure how that's registered of if having out of sync json4s / jackson on the classpath is an issue) |
Just trying at the REPL is fine. You should be able to write, close the On Wed, Dec 10, 2014 at 9:59 AM, Alex Levenson notifications@github.com
Oscar Boykin :: @posco :: http://twitter.com/posco |
So this involved adding json4s and elephantbird into the json package. Not sure if we mind that?