src/main/java/pl/jalokim/propertiestojson/util/PropertiesToJsonConverter.java
public String convertToJson(Properties properties, String... includeDomainKeys) throws ParsePropertiesException {
        return convertFromValuesAsObjectMap(propertiesToMap(properties), includeDomainKeys);
    }
public String convertToJson(Properties properties, String... includeDomainKeys) throws ParsePropertiesException {
        return convertFromValuesAsObjectMap(propertiesToMap(properties), includeDomainKeys);
    }
public String convertToJson ( Properties properties , String ... includeDomainKeys ) throws ParsePropertiesException { return convertFromValuesAsObjectMap ( propertiesToMap ( properties ) , includeDomainKeys ) ; }
generate Json by given Java Properties and given filter

@param properties        Java Properties
@param includeDomainKeys domain head keys which should be parsed to json <br>
example properties:<br>
object1.field1=value1<br>
object1.field2=value2<br>
someObject2.field2=value3<br>
filter "object1"<br>
will parse only nested domain for "object1"<br>
@param includeDomainKeys domain head keys which should be parsed to json
@return Simple String with json
@throws ParsePropertiesException when structure of properties is not compatible with json structure
generate Json by given Java Properties and given filter