Mods / Prettiest - Vintage Story Json Formatter
Author: PureWinter
Side: Client
Created: Aug 31st at 10:04 PM
Last modified: Sep 2nd at 10:25 AM
Downloads: 176
Follow Unfollow 17
For testers:
ReadMe.cs
Do you format with notepad++ or ..notepad.. and wish you had an 'instant fix' button that just made json prettier?
..Are you struggling to figure out when to put commas and when not to, or often run into json errors that cause your mod not to load in game?
Introducing

![]()

Compresses or expands to your preferred formatting.

• • • • •
Smart loading, processing, and syntax coloring - Drag to app loading support, progress windows for 'heavy' (thousands of line json) processes.
mm formatting
Includes an error checker for: Missing commas, missing quotes, missing :, and just plain 'other' invallid json lines, pointing directly to them.
(Often providing an auto fix button, if it can!)
Tip: The error checker points to the first discovered error, so you may have to use it more than once if you're a silly noodle.


• • • • •
Warnings handler that keeps the 'weird, but safe to compile' elements separate of actual errors.
Cough, base game files. (Mods should probably be fully quoted, not unquoted..)

• • • • •
Automatically add 'header lines' that don't collapse in your IDE, to help you visually find collapsed large sections post-formatting.

..and tooltips if you need them!


Want to help improve the software? :D
Whenever you get something in an error report and shouldn't have, something isn't completely human readable, or did have an error that Prettiest didn't report- send a screenshot of your .json and explain.
(Preferabbly on Prettiest's thread on the main Vintage Story discord server.)
Vaguely open to suggestions if you have examples or images of said suggestions.
![]()
::Credits::
Pure Winter - Creator
Freakyuser396 - Feedback and suggestions, contributions from Carwright's Caravan to better test LARGE json loading.
safwyl - For complaining enough about pretty json formatter being hard to integrate into the VS workflow that I would bother.
..And GitHub contribution to fix my wonky structuring!! Thanks!
jayu - Mac testing, recipie formatting example, helpful early feedback!![]()
To do:
-Fix window focussing on mac builds.
-Better OS specific install instructions.
-Swap the left/right buttons for sanity lol
::Next::
Better error reporting to catch that 'other invalid json' catagory ☑ï¸, more autofix actions for those☑ï¸, visual line numbers. (Not just in data.)
Scaling the UI text up or down. ☑ï¸
Add visual recipe formatting that makes sense. (Thanks jayu)
Custom syntax coloring themes.
More intricate and accurate error/warning detection. -Right now it's a bit too 'THIS IS WRONG' happy even for valid, but badly written json. Push those 'not really an errors' into warnings. (Fix by quoting.)
::Future Future Roadmap? Maybe?:: <- It's a nice thought, if I ever find the time.
1.) Expand this tool drastically to include a 'JSON Craft Bench' tab that provides an in-ap menu to allow you to quickly and easily reference all available base game attributes and behavrors sorted by items, blocks, and entities.
-> Adder for 'make wrenchable' and other common features.
2.) Add a 'by type' helper tool that simplifies adding properties for entity / block entity variants in shapes and behaviors. (Creates the json for you, you just enter specifis in each prompt.)
3.) Add automated modding support for outside (open source or user-owned mods) by grabbing custom behaviors/attributes and adding them to the helper tool.
4.) Add 'templates' tab that gives you a drop down template for various uses. I.e. 'new Juant rideable' or 'new tool'.
| Mod Version | Downloads | Released | Changelog | Download |
|---|---|---|---|---|
| 1.0.0 | 176 | Sep 2nd at 10:25 AM | ReadMe.cs | |
|
As file type is incompatible, this file suites both as a download counter (to allow others to be recommended this tool more often) and as a way to find the release link (GitHub) without clicking through the source and trying to find it. (Not everyone uses GitHub frequently, it can be confusing!) | ||||

PureWinter Much better!
jayu You're a great person and thanks for all the help. :D
aWhatsit Thank you for the wholesome support. I always say "People love when I do art, they hate when I program." The culture is just different.
Nexusdog That's a hilarious way of putting it haaa. Can you try the page again per chance? I switched image host providers since confirming, others did or did not have issues almost randomly and not for every image. Just weird! So I switched hosts and it should be good now? :)
ʏᴇs ᴘʟᴇᴀsᴇ ɪ ɴᴇᴇᴅᴛʜᴀᴛᴄᴏᴍᴘʀᴇssɪᴏɴ
Though I may never use this, I think it's absolutely awesome to do something like this to help the modding community! You are amazing and thank you for this!
It might be me, but it takes a certain level of commitment to provide broken links to every picture.