JSON chat files?

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Sher'Tul Godslayer
Posts: 2330
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree

JSON chat files?

#1 Post by Zizzo »

Oddball question: I've seen, both in the game module and in several addons, chat definitions written in a JSON format rather than the usual Lua newChat{} method. The JSON data includes 'pos_x' and 'pos_y' fields, so I'm guessing they're generated by some GUI graph-manipulation program. Since the engine supports this format directly, and since I've seen it from several sources, I'm hoping that whatever program is being used to generate these is standardized and easily available? I've managed to cobble together a Perl script that mostly converts the JSON data back to the Lua format, but that has limits; I figure with the original program, I can examine the data directly to better understand it.
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply