You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
object JacksonJsonDemo {
def main(argv: Array[String]) {
val bar = new Bar(age=10)
bar.name = "Bar"
println(generate(bar))
}
}
case class Foo(var name:String = "Foo")
case class Bar(var age:Int = 0) extends Foo
I was expecting
{"name":"Bar", "age": 10}
The fields from the superclass are not included. This appears to be related to issue #4 (#4). Is this a bug or the design of the API?
The text was updated successfully, but these errors were encountered:
Given
I was expecting
The fields from the superclass are not included. This appears to be related to issue #4 (#4). Is this a bug or the design of the API?
The text was updated successfully, but these errors were encountered: