GameMaker (all)
Icon

Formatted JSON Loader

Alex Macafee

You must be logged in to obtain assets

Description

ATTENTION: This asset will include a formatted JSON Saver once GMS: 2 stores data structures as a true data type rather than an index.

If you're like me, you hate using long JSON strings when loading in data, so I decided to create this small Formatted JSON loader. for example...

Instead of loading this...

{ "value": "string", "integer": 1 }

You are able to load this!

{
    "value": "string",
    "integer": 1
}

This not only makes it easier for you to edit JSON files but makes it easier to view files and have more control over your formatting style.

NOTES

  • This script only loads in a formatted JSON file, at this point in time it does not save a formatted file but this feature may be added in future updates!

  • The script ignores TAB presses so does not require specific formatting.

End User Licence Agreement (EULA).

Age Rating: 9+

Versions

GMS1 - Version 1.0.1. Published August 5, 2016

GMS2 - Version 1.0.1. Published January 18, 2017

Updated original package to function with the new JSDoc system in GMS 2.

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait