An open API service indexing awesome lists of open source software.

https://github.com/hayat01sh1da/json-data-sorters

This repository contains Ruby and Python scripts which sort data of JSON setting files.
https://github.com/hayat01sh1da/json-data-sorters

automation github-actions json minitest python ruby unittest vscode work-efficiency

Last synced: about 1 month ago
JSON representation

This repository contains Ruby and Python scripts which sort data of JSON setting files.

Awesome Lists containing this project

README

          

[![Actions Status: Python](https://github.com/hayat01sh1da/json-data-sorters/workflows/Python/badge.svg)](https://github.com/hayat01sh1da/json-data-sorters/actions?query=workflow%3A%22Python%22)
[![Actions Status: Ruby](https://github.com/hayat01sh1da/json-data-sorters/workflows/Ruby/badge.svg)](https://github.com/hayat01sh1da/json-data-sorters/actions?query=workflow%3A%22Ruby%22)
[![Actions Status: CodeQL](https://github.com/hayat01sh1da/json-data-sorters/workflows/CodeQL/badge.svg)](https://github.com/hayat01sh1da/json-data-sorters/actions?query=workflow%3A%22CodeQL%22)

## 1. Common Environment

- WSL (Ubuntu 25.10)

## 2. READMEs

- [Ruby](./ruby/README.md)
- [Python](./python/README.md)

## 3. Source Codes

- [Ruby](./ruby/)
- [Python](./python/)

## 4. How to Use

In you terminal, provide the following 3 parameters via interactive user inputs.

- `dirname`: The directory name you put the JSON file in
- `filename`: The filename of which JSON data name you would like to sort
- `order`: `asc`(default) or `desc` you would like to sort key-value in

- [For Ruby Users](./ruby/README.md#2-execution)
- [For Python Users](./python/README.md#2-execution)