stringify

Parent Previous Next

JSON.stringify(myObject, replacer)


The replacer function may be omitted. If present it needs to look something like


function replacer(key, value) {
   if (typeof value === 'string') {
       return '\\cite{value}';
   }
   return value;
}



var myJSONText = JSON.stringify(myObject, replacer);

Created with the Personal Edition of HelpNDoc: Full featured Help generator