Universal Script 📌
112.5k Views
26 Executions

Script Verified cJSON

Universal Script 📌Uploaded by
vxstyvxsty
Verified Badge
Verified User
Hall of Fame
2 years ago
Please login to perform these actions:

Description

cJSON is a script that helps developers reduce file sizes, whethere it is beautified JSON, JSON that was obtained from websites via pretty print, or just any JSON data. It uses simple techniques to compress text, such as sequences of the same letter with 4 bytes, 2 bytes to mark the compression, 1 to mark how many times to duplicate it, and 1 aka the original letter. Of course it only does that IF the 4 bytes are shorter than the original sequence, so it wont work for 3 letter and below sequences. It also uses base62 encoding for numbers to decrease their sizes! For example, take the number 1234567890, base62 converts it to 1ly7vk which is only 6 bytes (4 bytes shorter than the actual number), And then you can add 2 to the total length which marks the string as base62 encoded. Usage: cJ:Compress(Data: string): table -> {BytesCompressed: number = 0, Result: string = "", TimeTaken: float = 0.000000} cJ:Decompress(Data: string): string -> Decompresses already compressed cJSON. Feel free to DM me about any issues on my discord.

View Raw
Edited By: vxsty Download


Comments

8
Log in to join the conversation. Login
frzfrsy's profile picture
frzfrsy9 months ago

those flowers, are just not needed :sob:

1
vxsty's profile picture
vxstyVerified
Verified Badge
Verified User
Hall of FameUploader9 months ago

@frzfrsy 🥷 WHO are you

1
frzfrsy's profile picture
frzfrsy9 months ago

@vxsty indian new exploiter, music producer

1
vxsty's profile picture
vxstyVerified
Verified Badge
Verified User
Hall of FameUploader9 months ago

@frzfrsy the project is over a year old so please read the code before commenting anything (And it's still better than anything you can currently make!)

2
vxsty's profile picture
vxstyVerified
Verified Badge
Verified User
Hall of FameUploader2 years ago(edited)

@lelahcolonial453 ??? i made this on roblox studio, chatgpt does not give you such scripts, but since you seem to be experienced with chatgpt make him generate it

1
vxsty's profile picture
vxstyVerified
Verified Badge
Verified User
Hall of FameUploader2 years ago(edited)

@lelahcolonial453 ???? read the code buddy

1
lelahcolonial453's profile picture
lelahcolonial4532 years ago(edited)

@vxsty "please code the script without comments and the ugliest the possible but works" 💔💔

0
lelahcolonial453's profile picture
lelahcolonial4532 years ago(edited)

Lmao chatgpt made this

0