Skip to content

jhsu98/json-splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages