---
title: "Discussion on \"Keeping @JsonProperty and Bean Validation field error messages in sync in a Spring Boot project\" | Hashnode"
description: "Discussion on \"Keeping @JsonProperty and Bean Validation field error messages in sync in a Spring Boot project\". Damn, this one bit me very recently. So imagine you have a Java API and because of whatever reasons you agreed that the JSON properties for the requests should be in snake_case_form. Cool, cool, that just wants a simple Jackson @JsonProperty annotati..."
url: "https://hashnode.com/posts/jsonproperty-bean-validation-field-error-messages-in-spring-boot/6514a31ecd128f0ae7cbaba0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Keeping @JsonProperty and Bean Validation field error messages in sync in a Spring Boot project](https://code.zikani.me/jsonproperty-bean-validation-field-error-messages-in-spring-boot?utm_source=hashnode&utm_medium=feed)

Damn, this one bit me very recently. So imagine you have a Java API and because of whatever reasons you agreed that the JSON properties for the requests should be in snake\_case\_form. Cool, cool, that just wants a simple Jackson @JsonProperty annotati...

Sep 23, 2023 · 6 min read · code.zikani.me  
Read the article

-   [#springboot](https://hashnode.com/tag/springboot)
-   [#validation](https://hashnode.com/tag/validation)
-   [#jackson](https://hashnode.com/tag/jackson)
-   [#json](https://hashnode.com/tag/json)
-   [#exceptionhandling](https://hashnode.com/tag/exceptionhandling)

## Written by

[Zikani Nyirenda Mwase](https://hashnode.com/@zikani)

@zikani

  
[View profile](https://hashnode.com/@zikani)

Wannabe Software Engineer

## Responses

Comments are turned off for this post.
