Home > @microsoft/node-core-library > IJsonFileStringifyOptions

IJsonFileStringifyOptions interface

Options for JsonFile.stringify()


export interface IJsonFileStringifyOptions 


Property Type Description
newlineConversion NewlineKind If true, then \n will be used for newlines instead of the default \r\n.
prettyFormatting boolean If true, then the “jju” library will be used to improve the text formatting. Note that this is slightly slower than the native JSON.stringify() implementation.