org.glassfish.jersey.examples.jackson.NonJaxbBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json-jackson Show documentation
Show all versions of json-jackson Show documentation
Jersey JSON with Jackson example.
/*
* Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package org.glassfish.jersey.examples.jackson;
/**
* TODO javadoc.
*
* @author Jakub Podlesak
*/
public class NonJaxbBean {
private String name = "non-JAXB-bean";
private String description = "I am not a JAXB bean, just an unannotated POJO";
private int[] array = {1, 1, 2, 3, 5, 8, 13, 21};
public int[] getArray() {
return array;
}
public void setArray(int[] array) {
this.array = array;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy