JSON Splitter
The splitter takes a single large JSON file and breaks it down into multiple smaller files. This is useful for managing large configuration files (like trader files) by splitting them into more manageable categories.
- If your file is an Array `[...]`: It splits the elements of the array.
- If your file is an Object `{...}`: It splits the top-level key/value pairs of the object.
- Intelligent Mode: If your file contains an object with only one key at the top, the tool assumes you want to split the *contents* of that key, which is a common format for DayZ configuration files. The tool will correctly re-apply this top-level key to all the new split files.
JSON Combiner
The combiner does the opposite: it takes multiple JSON files and merges them into one single file. This is perfect for consolidating separate trader categories back into one file for your server.
- Merge into a single Array: This option takes the contents of all uploaded files and places them into one large array. Ideal for combining lists.
- Merge into an Object: This option creates a single object where each key is the name of the original file, and its value is the content of that file. This is useful for keeping the data grouped by its source.