Changes between Initial Version and Version 1 of JSON


Ignore:
Timestamp:
Feb 28, 2012, 2:07:52 AM (12 years ago)
Author:
historic_bruno
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JSON

    v1 v1  
     1JSON (JavaScript Object Notation) is a text-based human-readable format for data. It is designed to be language independent, but the syntax matches JavaScript (also similar to C). JSON is very convenient for parsing in the game's scripts using !SpiderMonkey's builtin `JSON.parse()`. The game uses JSON (`.json`) files for storing raw data, when the overhead of a script is not required. Currently they are used for:
     2 * Civilization data (`civs\`)
     3 * Random map definitions (`maps\random\`)
     4 * AI definitions (`simulation\ai\`)
     5 * Assorted data shared by game setup and Atlas (`simulation\data\`)
     6
     7For more information, see http://json.org/.