Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
json-splitter.py

README.md

json-splitter

A simple command line tool for splitting large JSON files into smaller files. Python 3+ is required for this script to work.

Table of Contents

Installation

This script requires Python to be installed on the local machine. Please visit Python.org to install or type python3 --version to verify it is already installed.

Once Python is installed, clone the project or download the ZIP file and extract manually.

Usage

Place a JSON file within the same directory as the script. The JSON file must be an Array of Objects or Multidimensional Array.

Navigate to the directory where the script exists and begin by typing python3 json-splitter.py

Enter the name of the JSON file (include the extension) when prompted, then enter the maximum number of MB for each file.

The script will complete and equally split the JSON file into the appropriate number of files to stay under the maximum size.

Support

Please open an issue for support.

You can’t perform that action at this time.