public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

3 Followers

Simple Feature Request: Pretty-Print JSON For Easier Source Control

BMM_Archive · July 15, 2026

BMM_Archive
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Simple Feature Request: Pretty-Print JSON For Easier Source Control
  • Original author: wilg
  • Original date: December 27, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/simple-feature-request-pretty-print-json-for-easier-source-control.53773/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support

Summary

The JSON files RPG Maker generates are almost perfect for source control in something like Git – they're plaintext and easy to understand. The only problem is they're minified JSON so everything is on one line, which makes source control difficult. Source control is so important for large complicated projects like games. It's useful for both one person and multiple contributors. This really quick change would be a night-and-day difference. Hopefully it's a very minor change that can be added without breaking anything.

Archived First Post

The JSON files RPG Maker generates are almost perfect for source control in something like Git – they're plaintext and easy to understand.

The only problem is they're minified JSON so everything is on one line, which makes source control difficult.

Source control is so important for large complicated projects like games. It's useful for both one person and multiple contributors. This really quick change would be a night-and-day difference.

Hopefully it's a very minor change that can be added without breaking anything.

I work around this by running the following Ruby script before committing (works on Mac OS X and Linux only):

#!/usr/bin/env rubyrequire 'json'Dir.glob("./**/*.json").each do |path| txt = File.read(path) struct = JSON.parse(txt) File.write(path, JSON.pretty_generate(struct))endWith this, my diffs all look great and they're really easy to understand:

Screen Shot 2015-12-27 at 3.37.29 AM.png

Would love for this to get added!

Downloads / Referenced Files

RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.

  • Local mirror: 15891-dc205892cbbb2456264b0c1530b78cfb.png
    SHA-256: 9824164f1df05605950d5324a7e5e1b2d77bfe0a081eba6133a4a0e91703a4cf
    Original attachment URL: https://forums.rpgmakerweb.com/attachments/screen-shot-2015-12-27-at-3-37-29-am-png.27787/

Referenced Images / Attachments

Screen Shot 2015-12-27 at 3.37.29 AM.png
Screen Shot 2015-12-27 at 3.37.29 AM.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

Replies (0)

No replies yet.

0 replies 26 views

Log in to reply.