OpenShot Library | OpenShotAudio 0.2.2
juce::JSONParser Struct Reference

Classes

struct  ErrorException
 

Public Member Functions

 JSONParser (String::CharPointerType text)
 
void throwError (juce::String message, String::CharPointerType location)
 
void skipWhitespace ()
 
juce_wchar readChar ()
 
juce_wchar peekChar () const
 
bool matchIf (char c)
 
bool isEOF () const
 
bool matchString (const char *t)
 
var parseObjectOrArray ()
 
String parseString (const juce_wchar quoteChar)
 
var parseAny ()
 
var parseNumber (bool isNegative)
 
var parseObject ()
 
var parseArray ()
 

Public Attributes

String::CharPointerType startLocation
 
String::CharPointerType currentLocation
 

Detailed Description

Definition at line 26 of file juce_JSON.cpp.

Constructor & Destructor Documentation

◆ JSONParser()

juce::JSONParser::JSONParser ( String::CharPointerType  text)
inline

Definition at line 28 of file juce_JSON.cpp.

Member Function Documentation

◆ throwError()

void juce::JSONParser::throwError ( juce::String  message,
String::CharPointerType  location 
)
inline

Definition at line 41 of file juce_JSON.cpp.

◆ skipWhitespace()

void juce::JSONParser::skipWhitespace ( )
inline

Definition at line 55 of file juce_JSON.cpp.

◆ readChar()

juce_wchar juce::JSONParser::readChar ( )
inline

Definition at line 56 of file juce_JSON.cpp.

◆ peekChar()

juce_wchar juce::JSONParser::peekChar ( ) const
inline

Definition at line 57 of file juce_JSON.cpp.

◆ matchIf()

bool juce::JSONParser::matchIf ( char  c)
inline

Definition at line 58 of file juce_JSON.cpp.

◆ isEOF()

bool juce::JSONParser::isEOF ( ) const
inline

Definition at line 59 of file juce_JSON.cpp.

◆ matchString()

bool juce::JSONParser::matchString ( const char *  t)
inline

Definition at line 61 of file juce_JSON.cpp.

◆ parseObjectOrArray()

var juce::JSONParser::parseObjectOrArray ( )
inline

Definition at line 70 of file juce_JSON.cpp.

◆ parseString()

String juce::JSONParser::parseString ( const juce_wchar  quoteChar)
inline

Definition at line 83 of file juce_JSON.cpp.

◆ parseAny()

var juce::JSONParser::parseAny ( )
inline

Definition at line 141 of file juce_JSON.cpp.

◆ parseNumber()

var juce::JSONParser::parseNumber ( bool  isNegative)
inline

Definition at line 187 of file juce_JSON.cpp.

◆ parseObject()

var juce::JSONParser::parseObject ( )
inline

Definition at line 229 of file juce_JSON.cpp.

◆ parseArray()

var juce::JSONParser::parseArray ( )
inline

Definition at line 275 of file juce_JSON.cpp.

Member Data Documentation

◆ startLocation

String::CharPointerType juce::JSONParser::startLocation

Definition at line 30 of file juce_JSON.cpp.

◆ currentLocation

String::CharPointerType juce::JSONParser::currentLocation

Definition at line 30 of file juce_JSON.cpp.


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