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 7719823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:30:43+00:00 2026-06-01T03:30:43+00:00

For a JSON string, contains all kinds of settings, numbers, text etc (no fancy

  • 0

For a JSON string, contains all kinds of settings, numbers, text etc (no fancy binaries but may include Unicode/UTF8). Total JSON string fairly fall into 10k~50K range.

I want to compress it before save to database.

So I wonder which compress method should I choose, I am using c# 4, I know I can choose gzip and deflate but the compression radio is not good (although speed is good).

More specific, compress can be a little slow (since only once) but should be small. Decompress should be lighting fast since decompress happens lots.

Please give some advice.

  • 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-01T03:30:44+00:00Added an answer on June 1, 2026 at 3:30 am

    gzip should be fine…however, you might want to store it as a binary and maybe use this library:

    http://www.7-zip.org/sdk.html

    however, it depends on your needs. are you going to smallest size, fastest compression? one point to note is that it won’t be searchable.

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

Sidebar

Related Questions

Through a JSON parser from Google, I get a string. But it contains all
I have a simple json string which contains a collection of objects http://sandapps.com/InAppAds/ads.json.txt When
I have a variable that contains the following JSON string: { 0 : Jun
I got below JSON string, i facing issue parsing because it contains non english
I have a JSON string that I would like to include as a value
I store a json string that contains some (chinese ?) characters in a mysql
I am having a json string [{part_id:66,part_name:Palet crate,part_image:crate-box.gif,0:{language_data_content:Length [mm],pgd_value:1000},1:{language_data_content:Width [mm],pgd_value:800},2:{language_data_content:Height [mm],pgd_value:800},3:{language_data_content:Thickness [mm],pgd_value:20}}] This is
I have the following JSON String { name:Product, properties: { id: { type:number, description:Product
I have the following JSON string (from wikipedia http://en.wikipedia.org/wiki/JSON ) { name:Product, properties: {
I have a json string like this: { d: { results: [ { __metadata:

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.