By default when I hit my exposed repository I'm getting a JSON that looks like this:
{
_links: {},
_embedded: {}, //actual content
page: {} //paging enabled
}
Is there a way to get rid of the underscore character that is generated by default at the beginning of the word links & embedded? There are nested appearances of _links inside _embedded so I guess they are all configured in the same place.
I need to have something like this instead
{
links: {},
embedded: {},
page: {}
}
I'm using default config
@Import(RepositoryRestMvcConfiguration.class)
Thanks in advance.