[jbosstools-issues] [JBoss JIRA] (JBIDE-11577) Web Service Tester: Add a JSON visualizer - tree

Burr Sutter (JIRA) jira-events at lists.jboss.org
Wed Apr 18 20:27:18 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-11577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Burr Sutter updated JBIDE-11577:
--------------------------------

    Attachment: Screen Shot 2012-04-18 at 8.24.03 PM.png

    
> Web Service Tester: Add a JSON visualizer - tree
> ------------------------------------------------
>
>                 Key: JBIDE-11577
>                 URL: https://issues.jboss.org/browse/JBIDE-11577
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Webservices
>            Reporter: Burr Sutter
>            Assignee: Brian Fitzpatrick
>         Attachments: Screen Shot 2012-04-18 at 8.24.03 PM.png
>
>
> With HTML5, a large percentage of JBoss-hosted services will be RESTful endpoints providing a JSON response.  The challenge is that JSON is a little hard to read.  Please see screenshot.
> @Path("/events")
> @RequestScoped
> public class EventService {
> 	@Inject
> 	private EntityManager em;
> 	
> 	@GET
> 	@Produces(MediaType.APPLICATION_JSON)
> 	public List<Event> getAllEvents() {
> 		final List<Event> results = em.createQuery("select e from Event e order by e.name").getResultList();
> 		return results;
> 	}
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list