Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

No serialization of inherited type #3

Open
hpehl opened this issue Oct 29, 2012 · 0 comments
Open

No serialization of inherited type #3

hpehl opened this issue Oct 29, 2012 · 0 comments
Assignees
Milestone

Comments

@hpehl
Copy link
Owner

hpehl commented Oct 29, 2012

What steps will reproduce the problem?

  1. create class Holder with JsonWriter
  2. create abstract class Property
  3. create class PropertyInteger with JsonWriter
  4. set holder.property to a value of PropertyInteger
  5. serialize holder. It will have "property: null"

What is the expected output? What do you see instead?

Piriti should just take the runtime value and use the correct Writer.

What version of the product are you using?

0.8, GWT 2.4 devmode

I forgot to mention PropertyInteger extends Property

@ghost ghost assigned hpehl Oct 29, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant