How do I Create a JSON file?

Get help using Construct 2

Post » Mon May 19, 2014 10:57 am

As the subject states, how?

I am trying to create a JSON file so I can fill it all my armors/weapons and stats. Then using AJAX, push the info into an Array. I believe I am on the right path for an item database but I just can't figure out how to make a JSON file. Or even how I would format 3D values (XYZ).

Any advice? Thank You.
B
56
S
15
G
13
Posts: 826
Reputation: 17,705

Post » Mon May 19, 2014 11:12 am

you can create a .txt file and than rename it to be .json

content should be something like this:
{"armors":1,"weapons ":2}
B
5
Posts: 24
Reputation: 280

Post » Mon May 19, 2014 6:47 pm

Erez wrote:you can create a .txt file and than rename it to be .json

content should be something like this:
{"armors":1,"weapons ":2}


And how do I control what is on each axis?
B
56
S
15
G
13
Posts: 826
Reputation: 17,705

Post » Tue May 20, 2014 6:43 am

Message: Erez is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
I use the following plugin:
B
5
Posts: 24
Reputation: 280


Return to How do I....?

Who is online

Users browsing this forum: donstathemonsta and 34 guests