Hi!

I have a structure that outputs this:

<Page>
  <uiElement type="StackLayout">
    <uiElements type="Label" text="some text"/>
    <uiElements type="Image" url="mypageUrl"/>
  </uiElement>
</Page>

I use @JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=As.PROPERTY, 
property="type") on the common base class.
How could I get the following output:

<Page>
  <StackLayout>
    <Label text="some text"/>
    <Image url="mypageUrl"/>
  </StackLayout>
</Page>

It does not matter, if it can not be deserialized by Jackson, it is read by 
another system, that requires this structure.

BR, Zsolt

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jackson-user+unsubscr...@googlegroups.com.
To post to this group, send email to jackson-user@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to