Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PrettyJsonSaveContainer Interface Reference

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

Inheritance diagram for PrettyJsonSaveContainer:
[legend]

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 BaseJsonSerializationSaveContainer
proto string ExportToString ()
 
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 ()
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

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: