Construct 2: Convert array or key/values to a c2_dictionary json object

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)

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.