Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(62)

Issue 4438071: Add the ability to translate arbritary XML into JSON

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 9 months ago by rbaxter85
Modified:
14 years, 8 months ago
Reviewers:
johnfargo, dev, rjbaxter
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk
Visibility:
Public.

Description

Add code to translate abritrary XML into a JSON object. This would be a small enhancement to the functionality already in the gadgets.json namespace.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated patch with John's Suggestions #

Patch Set 3 : Fixed small bug with attributes and added a test for it. #

Patch Set 4 : Changed tests so they don't test the stringified JSON #

Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -1 line) Patch
features/src/main/javascript/features/features.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
features/src/main/javascript/features/gadgets.json.ext/feature.xml View 1 1 chunk +36 lines, -0 lines 0 comments Download
features/src/main/javascript/features/gadgets.json.ext/json-xmltojson.js View 1 2 1 chunk +195 lines, -0 lines 0 comments Download
features/src/main/javascript/features/gadgets.json.ext/taming.js View 1 1 chunk +26 lines, -0 lines 0 comments Download
java/server/src/test/resources/endtoend/jsonTest.xml View 1 2 3 1 chunk +134 lines, -1 line 0 comments Download

Messages

Total messages: 9
rbaxter85
14 years, 9 months ago (2011-04-26 00:37:57 UTC) #1
rbaxter85
On 2011/04/26 00:37:57, rbaxter85 wrote: Jira: https://issues.apache.org/jira/browse/SHINDIG-1529
14 years, 9 months ago (2011-04-26 00:39:02 UTC) #2
johnfargo
thoughts welcome. http://codereview.appspot.com/4438071/diff/1/features/src/main/javascript/features/core.json/feature.xml File features/src/main/javascript/features/core.json/feature.xml (right): http://codereview.appspot.com/4438071/diff/1/features/src/main/javascript/features/core.json/feature.xml#newcode33 features/src/main/javascript/features/core.json/feature.xml:33: <exports type="js">gadgets.json.convertXmlToJson</exports> since there are no deps ...
14 years, 9 months ago (2011-04-26 01:14:49 UTC) #3
rbaxter85
Thanks for the comments John. I am fine with moving this functionality out of the ...
14 years, 9 months ago (2011-04-26 23:09:24 UTC) #4
johnfargo
I'm happy leaving it to you -- but these days I've been creating pretty fine-grained ...
14 years, 9 months ago (2011-04-27 01:52:22 UTC) #5
rbaxter85
Updated patch with John's Suggestions
14 years, 8 months ago (2011-04-27 14:41:27 UTC) #6
rbaxter85
John when you get a chance could you review my updated changes? Thanks! On 2011/04/27 ...
14 years, 8 months ago (2011-04-29 13:17:18 UTC) #7
rjbaxter_us.ibm.com
Could someone please complete this code review for me and deliver the code? This issue ...
14 years, 8 months ago (2011-05-03 12:34:21 UTC) #8
johnfargo
14 years, 8 months ago (2011-05-03 20:19:55 UTC) #9
Hi Ryan,

I was trying to do so, but found that EndToEndTest still fails for me. Thoughts?
Failed tests: 
  jsonParse(org.apache.shindig.server.endtoend.EndToEndTest): test method
jsonConvertXmlToJsonTest did not finish


--j

On 2011/05/03 12:34:21, rjbaxter_us.ibm.com wrote:
> Could someone please complete this code review for me and deliver the 
> code?  This issue has been open for a while and I have had trouble finding 
> someone to finish the code review and deliver the code.  Thanks.
> 
> -Ryan
> 
> Email: mailto:rjbaxter@us.ibm.com
> Phone: 978-899-3041
> developerWorks Profile
> 
> 
> 
> From:   mailto:rbaxter85@gmail.com
> To:     mailto:dev@shindig.apache.org, mailto:johnfargo@gmail.com, 
> Cc:     mailto:reply@codereview.appspotmail.com
> Date:   04/29/2011 11:24 AM
> Subject:        Re: Add the ability to translate arbritary XML into JSON 
> (issue4438071)
> 
> 
> 
> John when you get a chance could you review my updated changes?  Thanks!
> 
> On 2011/04/27 14:41:27, rbaxter85 wrote:
> > Updated patch with John's Suggestions
> 
> 
> 
> http://codereview.appspot.com/4438071/
> 
> 
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b