sortedKeys
TypeScriptget sortedKeys(): JSONEncoder_OutputFormattingSwift declarationstatic let sortedKeys: JSONEncoder.OutputFormattingThe output formatting option that sorts keys in lexicographic order.
struct · iOS 8.0+ · SDK 27.1
struct OutputFormattingThe output formatting options that determine the readability, size, and element order of an encoded JSON object.
get sortedKeys(): JSONEncoder_OutputFormattingSwift declarationstatic let sortedKeys: JSONEncoder.OutputFormattingThe output formatting option that sorts keys in lexicographic order.
get prettyPrinted(): JSONEncoder_OutputFormattingSwift declarationstatic let prettyPrinted: JSONEncoder.OutputFormattingThe output formatting option that uses ample white space and indentation to make output easy to read.
get withoutEscapingSlashes(): JSONEncoder_OutputFormattingSwift declarationstatic let withoutEscapingSlashes: JSONEncoder.OutputFormattingThe output formatting option specifies that the output doesn't prefix slash characters with escape characters. By default slashes get escaped ("/" -> "\/", "http://apple.com/" -> "http:\/\/apple.com\/") for security reasons, allowing outputted JSON to be safely embedded within HTML/XML. In contexts where this escaping is unnecessary, the JSON is known to not be embedded, or is intended only for display, this option avoids this escaping.
init(rawValue: number): JSONEncoder_OutputFormattingSwift declarationinit(rawValue: UInt)Creates an OutputFormatting value with the given raw value.
getRawValue($self: JSONEncoder_OutputFormatting): numberSwift declarationlet rawValue: UIntThe format's default value.
No declarations were skipped in this snapshot.