Class JsonProperties

All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class JsonProperties extends Properties
Simple java.util.Properties implementation, that is able to parse a properties file in json format. Restrictions: supported types: String and (nested) Object ; other types in json file are ignored. Nested objects key names are separated by '.' Example: { "name": {"firstName": "Bart", "lastName": "Simpson"}} produces the properties: name.firstName = "Bart" name.lastName = "Simpson" Additional features: - an additional 'defaults' properties list, my by provided in the constructors. - defaults for the manadatory properties required by the RestClient may also be set by named setters (e.g. setUserName()) - a validate method checks if all required properties for RestClient are available
See Also: