JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
JSON::Value Struct Reference
Inheritance diagram for JSON::Value:
JSON::Detail::Base< json_value_s > JSON::Document

Public Types

using VariantT = std::variant< Object, Array, String, Number, Boolean, std::nullptr_t >
 

Public Member Functions

std::optional< ObjectasObject () const
 
std::optional< ArrayasArray () const
 
std::optional< StringasString () const
 
std::optional< NumberasNumber () const
 
std::optional< BooleanasBoolean () const
 
std::optional< std::nullptr_tasNull () const
 
VariantT asVariant () const
 
Type type () const
 
SourceLocation getSourceLocation () const
 
- Public Member Functions inherited from JSON::Detail::Base< json_value_s >
 Base (json_value_s *o)
 
 Base (const Base &o)
 
Baseoperator= (const Base &o)=default
 
 operator json_value_s * () const
 
json_value_sjsonValue () const
 

Additional Inherited Members

- Protected Attributes inherited from JSON::Detail::Base< json_value_s >
json_value_sobject_
 

Detailed Description

Definition at line 135 of file jsoncxx.h.

Member Typedef Documentation

◆ VariantT

Definition at line 138 of file jsoncxx.h.

Member Function Documentation

◆ asArray()

std::optional< Array > JSON::Value::asArray ( ) const

Definition at line 271 of file jsoncxx.h.

◆ asBoolean()

std::optional< Boolean > JSON::Value::asBoolean ( ) const

Definition at line 295 of file jsoncxx.h.

◆ asNull()

std::optional< std::nullptr_t > JSON::Value::asNull ( ) const

Definition at line 303 of file jsoncxx.h.

◆ asNumber()

std::optional< Number > JSON::Value::asNumber ( ) const

Definition at line 287 of file jsoncxx.h.

◆ asObject()

std::optional< Object > JSON::Value::asObject ( ) const

Definition at line 263 of file jsoncxx.h.

◆ asString()

std::optional< String > JSON::Value::asString ( ) const

Definition at line 279 of file jsoncxx.h.

◆ asVariant()

Value::VariantT JSON::Value::asVariant ( ) const

Definition at line 328 of file jsoncxx.h.

◆ getSourceLocation()

SourceLocation JSON::Value::getSourceLocation ( ) const

Definition at line 345 of file jsoncxx.h.

◆ type()

Type JSON::Value::type ( ) const

Definition at line 311 of file jsoncxx.h.


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