https://github.com/kh77/dynamic-filter-jackson
Spring boot dynamic filter using jackson
https://github.com/kh77/dynamic-filter-jackson
dynamic-filter-jackson h2-database jackson java springboot
Last synced: about 2 months ago
JSON representation
Spring boot dynamic filter using jackson
- Host: GitHub
- URL: https://github.com/kh77/dynamic-filter-jackson
- Owner: kh77
- Created: 2023-01-16T13:17:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T13:17:05.000Z (over 3 years ago)
- Last Synced: 2025-09-10T23:42:08.862Z (9 months ago)
- Topics: dynamic-filter-jackson, h2-database, jackson, java, springboot
- Language: Java
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring boot dynamic filter using jackson
It will control your response field in the runtime using below techniques:
- Add @JsonFilter in the DTO
- Use 'MappingJacksonValue' class to control which fields are required to be sent back as a response.
- Call Webservice
curl --location --request GET 'localhost:8080/product/5'