Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON extension: v2.6 #1212

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

JSON extension: v2.6 #1212

wants to merge 9 commits into from

Conversation

Skyhigh173
Copy link
Contributor

@Skyhigh173 Skyhigh173 commented Dec 22, 2023

misc change

  • used single quotes
  • renamed a block
  • optimized get all keys, values, entries
  • {"key":123} are considered valid json now (leading & trailing spaces)

blocks added

  • minify json
  • filter list based on text
  • flip key-value pair
  • import all variables (works for clones & local & global vars)
  • export all variables (works for clones & local & global vars)
    image

@CubesterYT
Copy link
Member

This is perfect!

@Skyhigh173
Copy link
Contributor Author

I have a new update which includes more blocks.
I will upload it soon

@qxsck
Copy link
Contributor

qxsck commented Feb 6, 2024

can add export and import lists?

@Skyhigh173
Copy link
Contributor Author

Sure

@Skyhigh173
Copy link
Contributor Author

image
3 new blocks, and fixed a bug about get item in array

@Skyhigh173
Copy link
Contributor Author

@GarboMuffin can you please check if its okay
you can merge it after that

@Skyhigh173
Copy link
Contributor Author

another 6 months passed

@yuri-kiss
Copy link
Member

another 6 months passed

😭

@LSPECTRONIZTAR
Copy link

@GarboMuffin merge this already 😭😭😭

@LSPECTRONIZTAR
Copy link

LSPECTRONIZTAR commented Sep 21, 2024

This is perfect!

THEN HOW COME ANOTHER VERSION OF THIS EXTENSION WAS MERGED THAT ONLY ADDED THE FIX VALID VALUE THING BUT NOT THIS ONE 😭

@LilyMakesThings
Copy link
Contributor

This is perfect!

THEN HOW COME ANOTHER VERSION OF THIS EXTENSION WAS MERGED THAT ONLY ADDED THE FIX VALID VALUE THING BUT NOT THIS ONE

Yelling at volunteers is not going to merge things faster, this repo is notoriously very slow at merging extensions

@LSPECTRONIZTAR
Copy link

This is perfect!

THEN HOW COME ANOTHER VERSION OF THIS EXTENSION WAS MERGED THAT ONLY ADDED THE FIX VALID VALUE THING BUT NOT THIS ONE 😭

Yelling at volunteers is not going to merge things faster, this repo is notoriously very slow at merging extensions

i know i know i know...
well its too late now

@GarboMuffin GarboMuffin added the pr: change existing extension Pull requests that change an existing extension label Oct 14, 2024
@Skyhigh173
Copy link
Contributor Author

Skyhigh173 commented Nov 4, 2024

We will celebrate the first anniversary of this pull in a month :trollface:

@yuri-kiss
Copy link
Member

yuri-kiss commented Dec 24, 2024

Please update the pr and fix merge conflicts, cause otherwise this is perfectly fine (at first glance), ill do a more indepth check when its mergable

Thebloxers998

This comment was marked as abuse.

@yuri-kiss yuri-kiss self-assigned this Dec 25, 2024
@Thebloxers998

This comment was marked as abuse.

@Skyhigh173
Copy link
Contributor Author

@yuri-kiss I think the conflicts are resolved. can you please check again?

}
json = json.trim();
if (
(json.slice(0, 1) != "[" || json.slice(-1) != "]") &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why cant you just do json[0] or json.at(0) and json.at(-1), is there any benifit?, this isnt a review bc im just curious lol

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did it pop up like a review :(

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a conflict from #1596
So I copied the code from there
Perhaps I can change it after this
🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: change existing extension Pull requests that change an existing extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants