This is a free online tool to convert a JSON formatted data to property file format. This can be useful for automation testing of REST based services. You can convert any JSON data to 'KEY = VALUE' format using this tool.
JSON (JavaScript Object Notation) is a popular format used to transfer data between applications. It is very common object format in web applications. JavaScript applications do not require any speciall handling for this type of data since its is already an object of javascript format.
Property files are common way to provide KEY, VALUE pair configuration for programs.
Many programming langugages use configuration files that have simple format that stores each KEY = VALUE pair in new line.
Property files are easy to read and can contain entries in KEY = VALUE format that makes validations and configuration easy.
The online converter is a good help for automation testing of REST based services. This tool can be handy since you just need to paste the JSON response in the input field and hit convert button.
The same task can be done manually, however it can be cumbersome. This tool can save you some time and follow a consistent pattern to create property key names.
You just need to copy and paste the JSON data into this tool and get the property format data (KEY = VALUE).
Property files are easy to read in Java, you can easily convert data in a property file to a java.util.Map format and access it easily.
Many times, we do not want to parse the full JSON since only small part of the data is used. In that case this tool can help you hand pick the fields you are interseted in.