Forums Register Login

Java Spring REST Service Json Parameter Naming

+Pie Number of slices to send: Send
Hi there

I'm create REST service with using the Spring framework.

For Example rest request raw json object(using Postman):


my Category object model json:


my Java Method:


If json parameter name use "Name, ParentErpCode", model is null but parameter name using "name, parentErpCode" working databinding and model not null.

How resolve my problem

Thanks
It's a tiny ad. At least, that's what she said.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 744 times.
Similar Threads
@XmlJavaTypeAdapter - the XmlAdapter never gets invoked
Spring REST controller redirection
GWT RPC with Spring 3 backend
How to generate an JSON object in a JSON Array oin Spring Rest Web Service Design?
RESTful service in Spring configuration with jackson-datatype-jsr310
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 23:03:00.