Given the class: Choose the annotation to add on line 4 to enable the client to receive a JSON representation of the instance of Value that is returned (Choose one):

Given the class:

Choose the annotation to add on line 4 to enable the client to receive a JSON representation of
the instance of Value that is returned (Choose one):

Given the class:

Choose the annotation to add on line 4 to enable the client to receive a JSON representation of
the instance of Value that is returned (Choose one):

A.
@Produces(“application/json”);

B.
@Consumes(“application/json”);

C.
No annotation is needed, since JAX-RS supports marshalling and unmarshalling of JSON
records.

D.
No annotation is possible, since JAX-RS does not support marshalling and unmarshalling of
JSON records.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *