This is a free online tool to convert a property file format to JSON formatted data to. This can be useful tool for converting all property file entries to a single JSON document. You can convert any
KEY = VALUE format data to JSON data using this tool.
This tool can take care of nested property conversion to nested JSON objects by name matching.
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.
A commonly accepted propeerty file convention is to use dot
(_) as a separator in keys.
(.) as a separator
Persons.person.name = John
Persons.person.age = 30
Persons.person.city = SFO
(_) as a separator
Persons_person_name = John
Persons_person_age = 30
Persons_person_city = SFO
In case your property file does not follow this convention you may need to specify the separator for successful conversion to JSON format.
The online converter is a good help for property file format data to JSON format. This tool can be handy since you just need to paste the property file data 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 a valid JSON document from well formatted property file.
You just need to copy and paste the property file content into this tool and get the JSON format data.
Many times, we do not want to use property files. In that case this tool can help you convert entire property file into a JSON document.
The tool follows a simple naming convention and can identify nested property values based on name matching (case-sensitive).