src/cx/json.h

changeset 1079
4e1872151fb6
parent 1077
911a154dd469
child 1082
46cdc8689fc4
equal deleted inserted replaced
1078:ffa8bb4e9288 1079:4e1872151fb6
455 /** 455 /**
456 * If \c indent_space is true, this is the number of spaces per tab. 456 * If \c indent_space is true, this is the number of spaces per tab.
457 * Indentation is only used in pretty output. 457 * Indentation is only used in pretty output.
458 */ 458 */
459 uint8_t indent; 459 uint8_t indent;
460 /**
461 * Set true to enable automatic wrapping of arrays.
462 * Wrapping is only used in pretty output.
463 * Objects within arrays are always wrapped.
464 */
465 bool wrap_array;
466 /**
467 * Specify the maximum number of characters in a line before an array needs to wrap.
468 */
469 uint16_t wrap_threshold;
470 }; 460 };
471 461
472 /** 462 /**
473 * Typedef for the json writer. 463 * Typedef for the json writer.
474 */ 464 */

mercurial