djson v3.1.3
JSON parser
 
Loading...
Searching...
No Matches
dj::SerializeFlag Struct Reference

Bit flags for serialization options. More...

#include <djson/json.hpp>

Public Types

enum  : std::uint8_t { None = 0 , SortKeys = 1 << 0 , TrailingNewline = 1 << 1 , NoSpaces = 1 << 2 }
 

Detailed Description

Bit flags for serialization options.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : std::uint8_t
Enumerator
None 
SortKeys 

Sort keys lexicographically.

TrailingNewline 

Append newline at the end. Ignored if NoSpaces is set.

NoSpaces 

No whitespace. Ignores TrailingNewLine and other whitespace options.


The documentation for this struct was generated from the following file: