Closed
Bug 650462
Opened 14 years ago
Closed 7 years ago
Consider using nsIJSON.decodeFromStream
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
DUPLICATE
of bug 1347515
People
(Reporter: philikon, Unassigned)
Details
We could do Cc["@mozilla.org/dom/json;1"].createInstance(Ci.nsIJSON) .decodeFromStream(aInputStream, aInputStream.available()); in the NetUtil.asyncFetch callback in Utils.jsonLoad. Bonus points for using it in a feature version of WeaveCrypto that eats a stream of encrypted WBOs, decrypts them and de-JSON-ifinies them.
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•