OpenShot Audio Library | OpenShotAudio 0.4.0
|
#include <juce_JSON.h>
Public Member Functions | |
FormatOptions | withSpacing (Spacing x) const |
FormatOptions | withMaxDecimalPlaces (int x) const |
FormatOptions | withIndentLevel (int x) const |
Spacing | getSpacing () const |
int | getMaxDecimalPlaces () const |
int | getIndentLevel () const |
Allows formatting var objects as JSON with various configurable options.
Definition at line 101 of file juce_JSON.h.
|
inline |
Returns the indent level of this Formatter.
Definition at line 124 of file juce_JSON.h.
Referenced by juce::DynamicObject::writeAsJSON().
|
inline |
Returns the maximum number of decimal places used by this Formatter.
Definition at line 121 of file juce_JSON.h.
|
inline |
Returns the spacing used by this Formatter.
Definition at line 118 of file juce_JSON.h.
Referenced by juce::DynamicObject::writeAsJSON().
|
inline |
Returns a copy of this Formatter with the specified indent level. This should only be necessary when serialising multiline nested types.
Definition at line 115 of file juce_JSON.h.
Referenced by juce::DynamicObject::writeAsJSON().
|
inline |
Returns a copy of this Formatter with the specified maximum number of decimal places. This option determines the precision of floating point numbers in scientific notation.
Definition at line 110 of file juce_JSON.h.
|
inline |
Returns a copy of this Formatter with the specified spacing.
Definition at line 105 of file juce_JSON.h.
Referenced by juce::JSON::toString(), and juce::JSON::writeToStream().