// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
package test;

import javax.ws.rs.Path;
import javax.ws.rs.GET;
import javax.ws.rs.Produces;

@Path("/TestJson")
public class TestJsonResource {
    @GET
    @Produces("application/json")
    public T1 get() {
        T1 o = new T1(123, "ABC");
        return o;
    }
}
