Enumeration

NSJSONWritingOptions

Options for writing JSON data.

Declaration

typedef enum NSJSONWritingOptions : NSUInteger {
    ...
} NSJSONWritingOptions;

Topics

Formatting JSON

NSJSONWritingPrettyPrinted

The writing option that uses white space and indentation to make the output more readable.

NSJSONWritingSortedKeys

The writing option that sorts keys in lexicographic order.