Jackson Annotations | @JsonProperty | Example | Simple Programming

preview_player
Показать описание
Welcome to Simple Programming

Json Annotations - @JsonProperty

In this video, let us see how to make use of @JsonProperty
Рекомендации по теме
Комментарии
Автор

Your video is very informative, simple and clear, thanks for this great content .

amg_academy
Автор

Great video, helped me understand JsonProperty really well.

amarnitdgp
Автор

Dynamically how can we change json properties? For example, in post request, I can give fName or myFirstName or first_name as key in json body, how can we change json properties dynamically?

pranoydas
Автор

hi I am seen your videos they are simple and very informative. Please keep posting videos. Which make developer job easy.
As a developer I am looking move forward to architect role in future. I need your suggestions and links to follow for good programming knowledge.

myjava
Автор

I need one requirement from you. Like when we have response object from Swagger UI while consuming the response I need to create so many POJO/model classes. Is there any way by taking response from Swagger UI can Java model classes been created? Please suggest if we have any such way. This will help to save lot of time.

myjava
Автор

Hi, I wanted to know how to just display a different name (maybe in the body of swagger UI) but the jsonproperty which is sent in the request or response should be different. Assuming i want to display, let's say "name" but it should get saved in db as "personName" something like that ?

misbhaafreen
Автор

sir can you make a video on objectmapper

kingrkranvirkar
Автор

hie im getting UnrecognizedPropertyException when trying to convert a json string into class object how can l fix it

donaldmaparura
Автор

Great Video. But pleeease dont say "at the rate of", every time

raminseferov
Автор

@Getter
@Setter
Class Book {
@JsonProperty("book_id");
private String bookId;

@JsonProperty("book_name");
private String bookName;

public void setBook_id(String bookId){
this.bookId = bookId;
}

public void setBook_name(String bookName){
this.bookName = bookName;
}

}
Can someone explain to me the setter method of the above code, thanks

tuybien