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

Add Import and Export JSON functionality #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sergomen
Copy link

It was not so easy for me, especially for the first time, but it seems I did it!
Sorry for some dummy code, if you'll notice.

When you want to Import a json file, at first you need to choose the file, and after that upload it. I tryed several times to combine both functionalities - choosing and uploading, but it didn't work. I didn't understand why.

third.iteration.tiers.of.joy.mp4

@vercel
Copy link

vercel bot commented Oct 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tiers-of-joy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 25, 2023 5:41pm

if (tileJSON) {
const tile = JSON.parse(tileJSON);
// console.log(tile)
Copy link
Owner

Choose a reason for hiding this comment

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

debug log

Copy link
Author

Choose a reason for hiding this comment

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

@sameer1612 . Hi! Sorry, I don't understand. Do I need to delete this commented string?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow exporting or importing data to a json file.
2 participants