Skip to content

JSSD Members

AndreasWBartels edited this page Nov 15, 2016 · 1 revision

Definition

net/anwiba/json/schema/example/bar.jssd

{
  "member": <string> null
}

result

net/anwiba/json/schema/exampleBar.java

//Copyright (c) 2016 by Andreas W. Bartels
package net.anwiba.json.schema.example;

import com.fasterxml.jackson.annotation.JsonProperty;

public class Bar {

    private String member = null;

    @JsonProperty("member")
    public void setMember(final String member) {
        this.member = member;
    }

    @JsonProperty("member")
    public String getMember() {
        return this.member;
    }

}

Clone this wiki locally