ALPACA

Open Source Point-and-Click Adventure Game Engine

JSON-to-string Converter

This tool will convert the contents of a JSON file (like speechlines.js) into a string that Flash can use, by removing line breaks and escaping single quotes. You can use this to copy all your external data into strings so that your games will export to a single .swf, without depending on the external files. Here's a tutorial.

Simply open your JSON file, copy the entire contents, and paste into the box immediately below. Then click "Convert."

Converted Text for Flash

Copy your new text from the box below.