Here is a converter I made to convert a one dimensional php array or simple key/values to a c2_dictionary json object to load json data from string into a dictionary object for construct 2 game maker
OR:
“key”=>”value”,
Add reversed key value to allow for easy lookup by key/value (e.g. beside key:value, value:key)