Spring Boot Java Loves .Net/C# with Case Insensitive API's

Опубликовано: 25 Февраль 2023
на канале: Fast and Simple Development
343
3

Learn how to change your standard Rest API JSON end points to accept case insensitive API's.

Give other languages love like C#/.Net and no longer have that case arguments on JSON element names.

By Simply adding an application.properties you can accept case insensitive POST, PUT bodies or simply add an Annotation to one specific Type.

spring.jackson.mapper.accept-case-insensitive-properties=true

@JsonFormat(with = {JsonFormat.Feature.ACCEPT_CASE_INSENSITIVE_PROPERTIES})

More can be found on my Udemy classes: https://www.udemy.com/user/tomjay2

Find this on my GitHib: https://github.com/ThomasJay

As well as my Web site: https://www.thomasjayconsulting.com

I want to help you learn and find an Amazing Job or just increase your Skills.

#Java #SpringBoot #software