https://github.com/ibz-04/json-base64-converter
A script to directly convert json to base64
https://github.com/ibz-04/json-base64-converter
base64 converter json
Last synced: 11 days ago
JSON representation
A script to directly convert json to base64
- Host: GitHub
- URL: https://github.com/ibz-04/json-base64-converter
- Owner: iBz-04
- Created: 2024-06-17T11:39:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T17:23:18.000Z (almost 2 years ago)
- Last Synced: 2025-08-18T23:42:50.638Z (11 months ago)
- Topics: base64, converter, json
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Overview
Because some older systems think that data consists of 7-bit chunks (bytes), whereas modern ones use 8-bit bytes. This may lead to misunderstandings between systems. And **base64** presumably can help with this
### Stack
- Python3
## How It Works
The code first transforms the JSON object into a JSON-formatted string.
This string is then encoded to bytes using UTF-8 encoding. Next, the byte-encoded JSON string is converted into a Base64 byte string.
This Base64 byte string is decoded back into a regular string.
## Installation
1. Clone the repository
```bash
git clone https://github.com/iBz-04/JSON-BASE64-converter.git
```
## Feedback
If you have any feedback, please reach out to me ibz.04dev@gmail.com
## Author
- [@iBz-04](https://github.com/iBz-04)