Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » MOXy: JSON marshalling not using XMLType's propOrder
MOXy: JSON marshalling not using XMLType's propOrder [message #792239] Mon, 06 February 2012 19:44 Go to next message
David Vree is currently offline David VreeFriend
Messages: 48
Registered: July 2010
Member
I can see that MOXy respects the propOrder attribute of XMLType when marshalling to XML. I have seen this work with both JAX-B annotations and OXM mapping files.

However, when marshalling to JSON it does not appear to retain the order. I realize that this doesn't matter to Javascript, but it does affect the human readability of payloads.

Is this a bug or is there a setting somewhere I need to configure?
Re: MOXy: JSON marshalling not using XMLType's propOrder [message #792935 is a reply to message #792239] Tue, 07 February 2012 15:31 Go to previous message
Blaise Doughan is currently offline Blaise DoughanFriend
Messages: 163
Registered: July 2009
Senior Member

Answered in your other thread (Not sure why all of your posts are appearing as duplicates):

http://www.eclipse.org/forums/index.php/mv/msg/286486/792930/#msg_792930

Previous Topic:Bidirectional relationship with orphan removal: NULL-Update to a NOT NULL Column
Next Topic:MOXy: JSON marshalling not using XMLType's propOrder
Goto Forum:
  


Current Time: Fri Nov 08 02:11:35 GMT 2024

Powered by FUDForum. Page generated in 0.03084 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top