WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIJSON
| IID: | 45464c36-efde-4cb5-8e00-07480533ff35 |
| Inherits From: | nsISupports |
Encode and decode JSON text.
This interface is implemented by the following components:
Methods
void decode ( AString str )
void decodeFromStream ( nsIInputStream stream , PRInt32 contentLength )
AString encode ( )
void encodeToStream ( nsIOutputStream stream , char* charset , PRBool writeBOM )
void decodeFromStream ( nsIInputStream stream , PRInt32 contentLength )
- Arguments:
- stream
- contentLength
void encodeToStream ( nsIOutputStream stream , char* charset , PRBool writeBOM )
- Arguments:
- stream
- charset
- writeBOM
Reference documentation is generated from Mozilla's source.
