Vuo
2.4.4
Loading...
Searching...
No Matches
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
static
map<string, string>
parseObjectWithStringValues
(json_object *o,
string
key);
24
25
static
json_object *
getJson
(vector<string> strings);
26
};
Generated on Thu Nov 9 2023 16:59:28 for Vuo by
1.9.8