Closed zjffdu closed 6 months ago
I know in jsonschema2pojo additionalProperties is java Map, but how can I declare one specific field also as Map? e.g. I want the following field config to be a Map.
{ "type":"object", "properties": { "config": { "type" : "string" } } }
One option is to say: "existingJavaType": "java.util.Map<String,String>"
"existingJavaType": "java.util.Map<String,String>"
Thanks @joelittlejohn
I know in jsonschema2pojo additionalProperties is java Map, but how can I declare one specific field also as Map? e.g. I want the following field config to be a Map.