Public classes
|
CreateStringSettings Settings that can be used to make output of creating JSON-formatted string different. Properties
Properties public bool ColoredOutput Sets output to be colored, using HTML style rich text tags. If this setting is used, resulting string can NOT be parsed back to JSON object!
public bool EscapeForwardSlashes Sets forward slashes to escaped or not. TotalJSON default is false since escaped forward slashes could cause problems if included to C# code. However, if resulting JSON string is included to for example HTML or JavaScript, it is better to set forward slash escaping on.
public bool HumanReadable Sets output to be more human readable. Linefeeds and indentations are added to output to make it easier for humans to read and edit. Output is still completely valid JSON that can be parsed back to JSON or JArray object.
public int IndentSpaceCount Sets how many spaces are used for indent. Can be 0 or any positive integer. This setting have effect only if 'HumanReadable' is true and 'IndentUsingTab' is false.
public bool IndentUsingTab Sets whatever indent of human readable output should use tabs. If false, spaces are used instead of tab. This setting have effect only if 'HumanReadable' is true.
public NewLineTypes NewLine Sets type of linefeeds in human readable output. This setting have effect only if 'HumanReadable' is true.
|