Loading...
Searching...
No Matches
PrettyJsonSaveContainer Interface Reference

Container for saving data in pretty json format. More...

Inheritance diagram for PrettyJsonSaveContainer:
BaseJsonSaveContainer SaveContainer SerializationContainer

Public Member Functions

proto external void SetFormatOptions (EPrettyFormatOptions options)
 Set pretty writer formatting options.
 
proto external bool SetIndent (string indentChar, int indentCharCount)
 Set the character and count for indentation.
 
- Public Member Functions inherited from BaseJsonSaveContainer
proto external string SaveToString ()
 
proto external bool SaveToFile (string fileName)
 
proto external void SetMaxDecimalPlaces (int maxDecimalPlaces)
 Sets the maximum number of decimal places for float output.
 
proto external int GetMaxDecimalPlaces ()
 

Detailed Description

Container for saving data in pretty json format.

Member Function Documentation

◆ SetFormatOptions()

proto external void PrettyJsonSaveContainer.SetFormatOptions ( EPrettyFormatOptions options)

Set pretty writer formatting options.

◆ SetIndent()

proto external bool PrettyJsonSaveContainer.SetIndent ( string indentChar,
int indentCharCount )

Set the character and count for indentation.

Parameters
indentCharCharacter for indentation. Must be whitespace character (' ', '\t', '\n', '\r').
indentCharCountNumber of indent characters for each indentation level.

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