This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 371919 - Support top level JSON arrays
Summary: Support top level JSON arrays
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Blaise Doughan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 350483
  Show dependency tree
 
Reported: 2012-02-17 13:27 EST by Blaise Doughan CLA
Modified: 2022-06-09 10:08 EDT (History)
1 user (show)

See Also:


Attachments
Core - Fix (103.58 KB, patch)
2012-02-17 13:29 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (103.45 KB, patch)
2012-02-17 13:36 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (108.04 KB, patch)
2012-02-17 15:46 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (113.26 KB, patch)
2012-02-21 15:38 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (116.58 KB, patch)
2012-02-22 09:23 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (116.62 KB, patch)
2012-02-22 10:39 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (116.72 KB, patch)
2012-02-22 10:47 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (117.12 KB, patch)
2012-02-22 11:16 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (120.42 KB, patch)
2012-02-22 11:54 EST, Blaise Doughan CLA
no flags Details | Diff
MOXy - Test Cases (12.93 KB, patch)
2012-02-22 14:22 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (120.38 KB, patch)
2012-02-22 14:30 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (121.34 KB, patch)
2012-02-22 15:32 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (120.61 KB, application/octet-stream)
2012-02-22 15:55 EST, Blaise Doughan CLA
no flags Details
Core - Fix (120.61 KB, patch)
2012-02-22 15:56 EST, Blaise Doughan CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Blaise Doughan CLA 2012-02-17 13:27:17 EST
The parser grammar needs to be enhanced to support top level JSON arrays.
Comment 1 Blaise Doughan CLA 2012-02-17 13:29:58 EST
Created attachment 211202 [details]
Core - Fix
Comment 2 Blaise Doughan CLA 2012-02-17 13:36:36 EST
Created attachment 211203 [details]
Core - Fix
Comment 3 Blaise Doughan CLA 2012-02-17 15:46:54 EST
Created attachment 211214 [details]
Core - Fix
Comment 4 Blaise Doughan CLA 2012-02-21 15:38:22 EST
Created attachment 211363 [details]
Core - Fix
Comment 5 Blaise Doughan CLA 2012-02-22 09:23:25 EST
Created attachment 211405 [details]
Core - Fix
Comment 6 Blaise Doughan CLA 2012-02-22 10:39:07 EST
Created attachment 211415 [details]
Core - Fix
Comment 7 Blaise Doughan CLA 2012-02-22 10:47:24 EST
Created attachment 211417 [details]
Core - Fix
Comment 8 Blaise Doughan CLA 2012-02-22 11:16:57 EST
Created attachment 211422 [details]
Core - Fix
Comment 9 Blaise Doughan CLA 2012-02-22 11:54:52 EST
Created attachment 211424 [details]
Core - Fix
Comment 10 Blaise Doughan CLA 2012-02-22 14:22:14 EST
Created attachment 211441 [details]
MOXy - Test Cases
Comment 11 Blaise Doughan CLA 2012-02-22 14:30:19 EST
Created attachment 211444 [details]
Core - Fix
Comment 12 Blaise Doughan CLA 2012-02-22 15:32:22 EST
Created attachment 211449 [details]
Core - Fix
Comment 13 Blaise Doughan CLA 2012-02-22 15:55:40 EST
Created attachment 211451 [details]
Core - Fix
Comment 14 Blaise Doughan CLA 2012-02-22 15:56:30 EST
Created attachment 211452 [details]
Core - Fix
Comment 15 Blaise Doughan CLA 2012-02-22 16:00:43 EST
Fix checked into trunk at rev:  10885

Code reviewed by:  Denise Smith

Fix Details:
- Updated JSONReader to handle root level arrays.  If the root level is an array each nested object is unmarshalled individually.
- Updated XMLMarshaller to handle root level lists.  If the root level is a list each nested object is marshalled individually.
Comment 16 Eclipse Webmaster CLA 2022-06-09 10:08:43 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink