Lyricdev
GitHub

struct JsonOptions

pub struct JsonOptions

Steers how the text is written: pretty with newlines and indent spaces per level, sortKeys with an object's keys in order (which goes through the tree).

Fields

pub pretty: bool = false
pub indent: int = 2
pub sortKeys: bool = false