consuming json for entity using java spring

People, I need help, if anyone can help me, I thank you!

I am getting a JSON and wanted to know if I can bring the information to a LIST of my entity.

is a call to send 1 SMS

This is the first time I try to do something with JSON

my entity has all getters and setters.

Entity

public class Zenvia {

//Request

private String id;

private String from;

private String to;

private String msg;

private String schedule;

private String callbackOption;

private String aggregateId;

private boolean flashSms;

//Response

private long stats;

private String statusCode;

private String statusDescription;

private String detailCode;

private String detailDescription;

private String mobileOperatorName;

private String received;

}

my call

public Zenvia...

Read More »

By: StackOverFlow - Sunday, 15 April

Related Posts