JSONWriter function ( ) { if ( this . mode == 'i' ) { this . mode = 'o' ; } if ( this . mode == 'o' || this . mode == 'a' ) { this . append ( "srini_string" ) ; this . push ( new JSONObject ( ) ) ; this . comma = false ; return this ; } throw new JSONException ( "srini_string" ) ; }
begin appending a new object . all keys and values until the balancing endobject will be appended to this object . the endobject method must be called to mark the object 's end . concode_field_sep char mode concode_elem_sep boolean comma concode_elem_sep int top concode_elem_sep int maxdepth concode_elem_sep Writer writer concode_elem_sep JSONObject stack[] concode_field_sep void pop concode_elem_sep JSONWriter array concode_elem_sep JSONWriter end concode_elem_sep JSONWriter endArray concode_elem_sep JSONWriter value concode_elem_sep JSONWriter value concode_elem_sep JSONWriter value concode_elem_sep JSONWriter value concode_elem_sep JSONWriter append concode_elem_sep JSONWriter key concode_elem_sep void push concode_elem_sep JSONWriter endObject