Descargas

Java JSON Client Library

Creación: March 30, 2022

The Java client-side library is used to provide the set of Java objects that can be serialized to/from JSON using Jackson. This is useful for accessing the JSON REST endpoints that are published by this application.

Resources Example (Raw JAXB)
java.net.URL url = new java.net.URL(baseURL + "/v1.0/private/cidu/notimovil/categorias/usuario");
ObjectMapper mapper = new ObjectMapper();
java.net.URLConnection connection = url.openConnection();
connection.setDoOutput(true);
connection.connect();

mapper.writeValue(connection.getOutputStream(), wrapperPeticionArrayOfEstadoSuscripcion);
Object result = (Object) mapper.readValue( connection.getInputStream(), Object.class );
//handle the result as needed...
    
Resources Example (Jersey client)
javax.ws.rs.client.Client client = javax.ws.rs.client.ClientBuilder.newClient();

Object result = client.target(baseUrl + "/v1.0/private/cidu/notimovil/categorias/usuario")
  .put(javax.ws.rs.client.Entity.entity(wrapperPeticionArrayOfEstadoSuscripcion, "application/json"), Object.class);

//handle the result as needed...
    

Archivos
nombre tamaño descripción
umuapp-web-json-client-json-sources.jar 67,11K The sources for the Java JSON client library.