Public Member Functions

nsIJSON Interface Reference

Encode and decode JSON text. More...

import "nsIJSON.idl";

List of all members.

Public Member Functions

AString encode ()
void encodeToStream (in nsIOutputStream stream, in string charset, in boolean writeBOM)
void decode (in AString str)
void decodeFromStream (in nsIInputStream stream, in long contentLength)

Detailed Description

Encode and decode JSON text.


Member Function Documentation

void nsIJSON::decode ( in AString  str  ) 
void nsIJSON::decodeFromStream ( in nsIInputStream  stream,
in long  contentLength 
)
AString nsIJSON::encode (  ) 
void nsIJSON::encodeToStream ( in nsIOutputStream  stream,
in string  charset,
in boolean  writeBOM 
)

The documentation for this interface was generated from the following file: