jackson-module-scala icon indicating copy to clipboard operation
jackson-module-scala copied to clipboard

Respect Scala visibility for scoped visibility properties.

Open christophercurrie opened this issue 12 years ago • 0 comments

As discussed in #77, Scala traits can contain fields and that are private to a package. These are implemented as public fields and methods in the JVM because there is no other choice.

If possible, examine the visibility of the field with respect to the class being serialized, and use that to override the JVM visibility.

christophercurrie avatar May 11 '13 19:05 christophercurrie