How to accept a single value as an array in JSON using Java?
Problem Statement Sometimes, we might get two types of values for a single key – a single value or an array of those values, but we don’t know which will come and when. Examples of such JSON So, the question that comes into mind is how can we deserialize these kinds of JSON where we […]
How to accept a single value as an array in JSON using Java? Read More »