title: How to decode a gzip encoded JSON using Lotus-Script
body: <p>I get gzip encoded JSON content from a httprequest and I don't know how to decode it in Lotus Script.</p>
  
  <pre><code>Set webRequest = Session.createhttprequest()
  
  
      Call webRequest.Setheaderfield("cache-control", "no-cache")
      Call webRequest.Setheaderfield("Connection", "keep-alive")
      Call webRequest.Setheaderfield("Content-Type", "application/json")
      Call webRequest.Setheaderfield("Authorization", "Bearer " + accessToken)
      Call webRequest.Setheaderfield("Accept", "*/*")
      Call webRequest.Setheaderfield("Host", "graph.microsoft.com")
      Call webRequest.Setheaderfield("accept-encoding", "gzip, deflate")
  
  ret = webRequest.Get(Url)
  
  ForAll b In ret
      responsJSON = responsJSON + Chr(b)
  End ForAll
  
  Set jsnav = session.CreateJSONNavigator(responsJSON)
  </code></pre>
  
  <p>I expect an JSON but get this error messag "Unable to Parse JSON string: Invalid value. Offset0"</p>