@Test public void testJSON() throws IOException { ObjectMapper mapper = new ObjectMapper(); String json = mapper.writeValueAsString(g); GotoAction c2 = mapper.readValue(json, GotoAction.class); assertEquals(g.getUrl(), c2.getUrl()); }
public String getUrl() { return url; }
GotoAction extends WebSymbolAction { public String getUrl() { return url; } }
GotoAction extends WebSymbolAction { public String getUrl() { return url; }  }
GotoAction extends WebSymbolAction { public String getUrl() { return url; }  @Override ExecuteResult execute(WebSiteConnector connector); String getUrl(); @Transient @JsonIgnore String getURLWithVariableValues(); void setUrl(String url); Credentials getCredentials(); void setCredentials(Credentials credentials); String getBaseUrl(); void setBaseUrl(String baseUrl); }
GotoAction extends WebSymbolAction { public String getUrl() { return url; }  @Override ExecuteResult execute(WebSiteConnector connector); String getUrl(); @Transient @JsonIgnore String getURLWithVariableValues(); void setUrl(String url); Credentials getCredentials(); void setCredentials(Credentials credentials); String getBaseUrl(); void setBaseUrl(String baseUrl);  }