From d752a75a8496f0c5abe3d8ee41af95ae5b7875c3 Mon Sep 17 00:00:00 2001 From: Tyler Ferrari <69283684+Sowgro@users.noreply.github.com> Date: Sun, 2 Mar 2025 11:48:10 -0500 Subject: Configure json parser to only serialize annotated fields --- ufund-api/src/main/resources/application.properties | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ufund-api/src') diff --git a/ufund-api/src/main/resources/application.properties b/ufund-api/src/main/resources/application.properties index 254ac64..fa5d084 100644 --- a/ufund-api/src/main/resources/application.properties +++ b/ufund-api/src/main/resources/application.properties @@ -2,4 +2,10 @@ server.error.include-message=always cupboard.file=ufund-api/data/cupboard.json -users.file=ufund-api/data/users.json \ No newline at end of file +users.file=ufund-api/data/users.json + +spring.jackson.mapper.auto-detect-getters=false +spring.jackson.mapper.auto-detect-setters=false +spring.jackson.mapper.auto-detect-is-getters=false +spring.jackson.mapper.auto-detect-creators=false +spring.jackson.mapper.auto-detect-fields=false \ No newline at end of file -- cgit v1.2.3