| 
    libdonut 2.3.6
    
   Application framework for cross-platform game development in C++20 
   | 
 
Options for JSON serialization. More...
#include <donut/json.hpp>
Public Attributes | |
| std::size_t | indentation = 0 | 
| The starting indentation level, expressed as the number of indentation characters.   | |
| std::size_t | relativeIndentation = 4 | 
| The number of indentation characters that each new level of indentation will add.   | |
| char | indentationCharacter = ' ' | 
| The character to use when performing indentation.   | |
| bool | prettyPrint = true | 
| Format the output in a way that is nicely human-readable.   | |
| std::size_t | prettyPrintMaxSingleLineObjectPropertyCount = 4 | 
| Maximum size of an object before it is split into multiple lines when pretty printing.   | |
| std::size_t | prettyPrintMaxSingleLineArrayItemCount = 4 | 
| Maximum size of an array before it is split into multiple lines when pretty printing.   | |
| const char * | newlineString = "\r\n" | 
| Non-owning pointer to a null-terminated ASCII string representing the newline sequence to use when performing line breaks.   | |
Options for JSON serialization.
| std::size_t donut::json::SerializationOptions::indentation = 0 | 
The starting indentation level, expressed as the number of indentation characters.
| std::size_t donut::json::SerializationOptions::relativeIndentation = 4 | 
The number of indentation characters that each new level of indentation will add.
| char donut::json::SerializationOptions::indentationCharacter = ' ' | 
The character to use when performing indentation.
| bool donut::json::SerializationOptions::prettyPrint = true | 
Format the output in a way that is nicely human-readable.
Disable to use a more compact layout without whitespace or indentation.
| std::size_t donut::json::SerializationOptions::prettyPrintMaxSingleLineObjectPropertyCount = 4 | 
Maximum size of an object before it is split into multiple lines when pretty printing.
When set to a positive value, objects at or below this size will be written in a single line. Set to 0 to always split non-empty objects into multiple lines regardless of size.
| std::size_t donut::json::SerializationOptions::prettyPrintMaxSingleLineArrayItemCount = 4 | 
Maximum size of an array before it is split into multiple lines when pretty printing.
When set to a positive value, arrays at or below this size will be written in a single line. Set to 0 to always split non-empty arrays into multiple lines regardless of size.
| const char* donut::json::SerializationOptions::newlineString = "\r\n" | 
Non-owning pointer to a null-terminated ASCII string representing the newline sequence to use when performing line breaks.
Defaults to CRLF (carriage return followed by line feed).