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

  • SEARCH
  • Home
  • 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 1097477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:26:21+00:00 2026-05-17T00:26:21+00:00

I am planning to send Javascript array object filled with data by encoding it

  • 0

I am planning to send Javascript array object filled with data by encoding it in JSON. Any good jquery plugins for this ?

On Java end, what is the standard way of parsing the JSON into a Java array ?

Overall flow is like this:

  1. Javascript compiles bunch of data on current page and stores it in array.
  2. Array object encoded into JSON.
  3. Java code saves JSON.
  4. Repeat and Java code compiles succesive JSONs for each page.
  5. Java code submits one mega JSON to server.

Another problem I have is with 5. How would you go about submitting large JSON data to the server securely ?

  • 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-05-17T00:26:21+00:00Added an answer on May 17, 2026 at 12:26 am

    On the client-side, if you support only modern browsers, you can use the native JSON.stringify() API. Otherwise, the json2.js library is fine.

    On the server-side, there are a herd of libraries to have a look at:

    • Jackson
    • json-lib
    • gson
    • and many more Java JSON libraries…

    I’m pointing you to Jackson first at it seems to be the fastest in many cases. However, I find its documentation harder to get my mind around every time I need to get back to it. Json-lib is sometimes easier to get to grasp with for smaller tasks that do not require top-speed, but with still completely acceptable results.
    Gson as also a good reputation and is very flexible, however the previous benchmarks I came across seemed to indicate that it did not perform as well as Jackson. The newly released 1.5 version might have improved that, but I don’t know.

    It comes down to the degree of flexibility you want, the performance you need, and whether you want a simple API or if you don’t mind a more complex one.

    Regarding security, I think your best option here would be to support SSL for the connections. Otherwise you could just make things harder for eavesdroppers by simply using JS-based encryption, but that won’t protect you too much. Look for SJCL (Stanford Javascript Crypto Library) for this.

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

Sidebar

Related Questions

I'm planning on learning Java, I have experience programming in other Object Oriented languages,
I planning on reading profile data from a xml file in JSP. Now i
I am planning to write WP7 app, which needs to send to server phones
I am using crypto++ to send AES encrypted http requests to app engine, planning
I need to send email notifications in my Java web application. I'm using Apache
We have broken Google's APK size limit and are planning to send our download
I am using Kohana but this question applies to Rails, CI, or any other
I'm planning on writing an android app that can view and update data on
I really need your help with this. We are planning on developing a real-time
I'm planning on writing some code for encrypting files in javascript locally. For large

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.