You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							13 lines
						
					
					
						
							409 B
						
					
					
				
			
		
		
	
	
							13 lines
						
					
					
						
							409 B
						
					
					
				| var json_stringify = require('./lib/stringify.js').stringify;
 | |
| var json_parse     = require('./lib/parse.js');
 | |
| 
 | |
| module.exports = function(options) {
 | |
|     return  {
 | |
|         parse: json_parse(options),
 | |
|         stringify: json_stringify
 | |
|     }
 | |
| };
 | |
| //create the default method members with no options applied for backwards compatibility
 | |
| module.exports.parse = json_parse();
 | |
| module.exports.stringify = json_stringify;
 |