code: function(v, pos) {
  			var buffer = [];
  			var escaping = false;
  
  			for (var i = 0; i < v.length; i++) {
  				var c = v.charAt(i);
  	
  				if (escaping) {
  					switch (c) {
  					case "'":
  						buffer.push("'");
  						break;
  					case '\\':
  						buffer.push('\\');
  						break;
  					case '/':
  						buffer.push('/');
  						break;
  					case 'b':
  						buffer.push('\b');
  						break;
  					case 'f':
  						buffer.push('\f');
  						break;
  					case 'n':
  						buffer.push('\n');
  						break;
  					case 'r':
  						buffer.push('\r');
  						break;
  					case 't':
  						buffer.push('\t');
  						break;
  					case 'u':
  						// interpret the following 4 characters as the hex of the unicode code point
  						var codePoint = parseInt(v.substring(i + 1, i + 5), 16);
  						buffer.push(String.fromCharCode(codePoint));
  						i += 4;
  						break;
  					default:
  						throw this.error_parsing(pos + i, "Illegal escape sequence: '\\" + c + "'");
  					}
  					escaping = false;
  				} else {
  					if (c == '\\') {
  						escaping = true;
  					} else {
  						buffer.push(c);
  					}
  				}
  			}
  	
  			return buffer.join('');
  		}
docs: Ported from the yajjl JSON parser at http://code.google.com/p/yajjl/