Ignite Tools
Properties
<UA_SBJsonWriterOptions> Protocol Reference

Options for the writer class. More...

#import <UA_SBJsonWriter.h>

Inheritance diagram for <UA_SBJsonWriterOptions>:
UA_SBJSON UA_SBJsonWriter

List of all members.

Properties

BOOL humanReadable
 Whether we are generating human-readable (multiline) JSON.
BOOL sortKeys
 Whether or not to sort the dictionary keys in the output.

Detailed Description

Options for the writer class.

This exists so the UA_SBJSON facade can implement the options in the writer without having to re-declare them.


Property Documentation

- (BOOL) humanReadable [read, write, assign]

Whether we are generating human-readable (multiline) JSON.

Set whether or not to generate human-readable JSON. The default is NO, which produces JSON without any whitespace. (Except inside strings.) If set to YES, generates human-readable JSON with linebreaks after each array value and dictionary key/value pair, indented two spaces per nesting level.

- (BOOL) sortKeys [read, write, assign]

Whether or not to sort the dictionary keys in the output.

If this is set to YES, the dictionary keys in the JSON output will be in sorted order. (This is useful if you need to compare two structures, for example.) The default is NO.


The documentation for this protocol was generated from the following file:
 All Classes Functions Variables Properties