Skip to content

⚔️🛡Pokémon Sword and Shield Data Dumps in optimised JSON format

Notifications You must be signed in to change notification settings

jayztemplier/swordshield-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokémon Sword and Shield Data Dumps

This project parses the RAW data dumps from the Pokémon Sword and Shield games into machine-readable format (optimized JSON).

All parsed data can be found under the data/json folder.

Commands

Parse: Parses and exports all RAW data into JSON files: ./scripts/parse.php

The optimized json format

Since reading a whole JSON file in memory might be expensive, JSON files are formatted in a way that each line represents a full JSON object in a list.

This way, you can read big files line by file, decoding each line from JSON to an object.

The only thing your JSON parser needs to do is to skip the first and last lines (which are [\n and {}]\n respectively) and trim the trailing comma , of each line.

Credits

About

⚔️🛡Pokémon Sword and Shield Data Dumps in optimised JSON format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages