Vuo
2.0.0
base
VuoJsonUtilities.hh
Go to the documentation of this file.
1
10
#pragma once
11
15
class
VuoJsonUtilities
16
{
17
public
:
18
static
string
parseString
(
json_object
*o,
string
key,
string
defaultString=
""
,
bool
*foundValue=NULL);
19
static
string
parseObjectString
(
json_object
*o,
string
outerKey,
string
innerKey,
string
defaultString=
""
,
bool
*foundValue=NULL);
20
static
int
parseInt
(
json_object
*o,
string
key,
int
defaultInt=0,
bool
*foundValue=NULL);
21
static
bool
parseBool
(
json_object
*o,
string
key,
bool
defaultBool=
false
,
bool
*foundValue=NULL);
22
static
vector<string>
parseArrayOfStrings
(
json_object
*o,
string
key);
23
24
static
json_object
*
getJson
(vector<string> strings);
25
};
Generated on Wed Feb 26 2020 23:19:29 for Vuo by
1.8.17