I am using CrudRepository
in spring boot application. It works fine but I am getting extra json attribute _links
. How do I skip that extra json, as it's affecting on render large json object.
i am getting this kind of json
format in response;
{
"_embedded": {
"userses": [
{
"user_name": "john doe",
"_links": {
"self": {
"href": "http://localhost:8080/userses/47375"
},
"users": {
"href": "http://localhost:8080/userses/47375"
}
}
},
{
"user_name": "john1 doe1",
"_links": {
"self": {
"href": "http://localhost:8080/userses/21665"
},
"users": {
"href": "http://localhost:8080/userses/21665"
}
}
},
{
"user_name": "remmya1 decruize1",
"_links": {
"self": {
"href": "http://localhost:8080/userses/47876"
},
"users": {
"href": "http://localhost:8080/userses/47876"
}
}
}
}
how do i neglect that extra part in json.