src/main/java/pl/jalokim/propertiestojson/util/PropertiesToJsonConverter.java
public String convertToJson(Map<String, String> properties) throws ParsePropertiesException {
        return convertFromValuesAsObjectMap(stringValueMapToObjectValueMap(properties));

    }
public String convertToJson(Map<String, String> properties) throws ParsePropertiesException {
        return convertFromValuesAsObjectMap(stringValueMapToObjectValueMap(properties));

    }
generate Json by given Map&lt;String,String&gt;

@param properties Java Map with properties
@return simple String with json
@throws ParsePropertiesException when structure of properties is not compatible with json structure