title: Big JSON file - how to compress in the server and decompress in the client side?
body: <p>I have a json file that is approximately 2-3 MB in size. I want to compress this json in the server side when we are sending to client and decompress in the client side.</p>
  
  <p>My Client is built on AngularJS SPA and getting the json output from Web API.</p>
  
  <pre><code>{
    "firstName": "John",
    "lastName": "Smith",
    "age": 25,
    "address":
    {
      "streetAddress": "21 2nd Street",
      "city": "New York",
      "state": "NY",
      "postalCode": "10021"
    },
    "phoneNumber":
    [
      {
        "type": "home",
        "number": "212 555-1234"
      },
      {
        "type": "fax",
        "number": "646 555-4567"
      }
    ]
  }
  </code></pre>