Consuming a RESTful Java web service using JSON-B and JSON-P

0
Language

Learn how to access a RESTful web service and consume its resources in Java using JSON-B and JSON-P. Serialize and deserialize JSON with ease using these two approaches. Discover more about REST services and how to create them.

Add your review

At a Glance

Explore how to access a simple RESTful web service and consume its resources in Java using JSON-B and JSON-P.

You will learn how to access a REST service, serialize a Java object that contains a list of artists and their albums, and use two different approaches to deserialize the returned JSON resources. The first approach consists of using the Java API for JSON Binding (JSON-B) to directly convert JSON messages into Java objects. The second approach consists of using the Java API for JSON Processing (JSON-P) to process the JSON.

If you are interested in learning more about REST services and how you can write them, read Creating a RESTful web service.

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Consuming a RESTful Java web service using JSON-B and JSON-P”

×

    Your Email (required)

    Report this page
    Consuming a RESTful Java web service using JSON-B and JSON-P
    Consuming a RESTful Java web service using JSON-B and JSON-P
    LiveTalent.org
    Logo
    LiveTalent.org
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.