(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports):typeof define==="function"&&define.amd?define("jsonlint-formatter",["exports"],factory):(global=global||self,factory(global.jsonlintFormatter={}))})(this,function(exports){"use strict";function repeat(s,count){return new Array(count+1).join(s)}function format(json,indent){var i=0;var length=0;var indentString=indent!==undefined?typeof indent==="number"?new Array(indent+1).join(" "):indent:" ";var outputString="";var indentLevel=0;var inString;var currentChar;for(i=0,length=json.length;i0&&json.charAt(i-1)!=="\\"){inString=!inString}outputString+=currentChar;break;default:outputString+=currentChar;break}}return outputString}exports.format=format;Object.defineProperty(exports,"__esModule",{value:true})}); //# sourceMappingURL=formatter.min.js.map