Class JsonOrgPropertiesToJSONObjectMapper

  • All Implemented Interfaces:
    Mapper<org.json.JSONObject>

    public class JsonOrgPropertiesToJSONObjectMapper
    extends JsonOrgJSONObjectMapper
    implements Mapper<org.json.JSONObject>
    A specialized Mapper that loads the contents of a Source (e.g.: file, URL) in the Properties format (a sequence of key-value pairs) and converts it into a JSONObject (json.org reference implementation).

    This allows fetching the contents using JSONPath expressions.

    Since:
    2.0.0 (note: since 0.2.0 as PropertiesToJSONObjectMapper)
    Author:
    oswaldo.bapvic.jr (Oswaldo Junior)