Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9248395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:56:10+00:00 2026-06-18T09:56:10+00:00

I am building a GAE app that basically lets a user choose a JSON

  • 0

I am building a GAE app that basically lets a user choose a JSON file on there computer, this JSON file will then be changed a little (i.e a few fields inserted) and uploaded to the server for storage in a database.

I am altering the JSON file locally using Javascript.

My question is, since you cannot load and change JSON (and other resources) from a local machine does this mean I have to firstly upload the unaltered JSON to the server?

i.e. do I have to do this:

  1. User selects raw unaltered JSON file from their computer
  2. This is then uploaded to the server
  3. The unaltered JSON is then sent back to the client
  4. Perform some javascript wizardry on the JSON to add the new fields etc I want.
  5. Upload the altered JSON file to the database
  6. Delete the old unaltered JSON file from the database

Would this be the correct method? It seems quite long-winded.

Thanks for your help people 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T09:56:11+00:00Added an answer on June 18, 2026 at 9:56 am

    If the user’s browser doesn’t support the File API, then I think your steps may be the best solution. However, many modern browsers do support the API, so you may be able to make use of it.

    The gist is to create a new FileReader object and load it. When that’s done, you should be able to evaluate the JSON (using JSON.parse), made your edits, and then do your uploading.

    Read more here: http://www.html5rocks.com/en/tutorials/file/dndfiles/

    Here’s a demo using images: http://html5demos.com/file-api

    Of course, if it’s possible to do the processing server-side instead of client-side, the situation becomes fairly trivial as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am planning on building a GWT app that will be deployed to GAE.
I'm building application with GWT + GAE on my MAC. In this app i
Building an app that gets a list of widgets from an SQlite database then
I'm building a Lifestreaming app that will involve pulling down lots of feeds for
I'm building app using GAE and wanted to use Django for that. Which patch
I'm building a GAE app that has objects with a lot of boolean properties.
I'm building a Java web app that needs access to a user's Google Calendar
I am building a GAE site that uses AJAX/JSON for almost all its tasks
I'm building a GAE app that requires a cryptographic key to operate. I would
I'm building application on Google AppEngine with Java (GAE/J) and all my data will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.