<Create custom java json spring boot parser for ma...
# stackoverflow
u
Create custom java json spring boot parser for map&lt;string, integer&gt; Error JSON parse error: Cannot coerce empty String ("") to element of
java.util.LinkedHashMap
when the http request is like field: {"one": 1} then it works however, the field is nullable and sometimes there comes an http request where the field is like field: "" is it possible to create an converter which checks if the string is null or blank and then returns null without trying to parse it to the map and get an error?