Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
MVJSONNode Class Reference
JSON Node (Object) More...
#include <JsonParser.h>
Public Member Functions | |
| bool | hasField (string name) |
| check that object has field | |
| MVJSONValue * | getField (string name) |
| get field by name | |
| double | getFieldDouble (string name) |
| get value of double field | |
| int | getFieldInt (string name) |
| get value of int field | |
| string | getFieldString (string name) |
| get value of string field | |
| bool | getFieldBool (string name) |
| get value of bool field | |
Data Fields | |
| vector< MVJSONValue * > | values |
| values (props) | |
Detailed Description
JSON Node (Object)
Definition at line 109 of file JsonParser.h.
Member Function Documentation
| MVJSONValue * getField | ( | string | name ) |
get field by name
Definition at line 227 of file JsonParser.cpp.
| bool getFieldBool | ( | string | name ) |
get value of bool field
Definition at line 262 of file JsonParser.cpp.
| double getFieldDouble | ( | string | name ) |
get value of double field
Definition at line 237 of file JsonParser.cpp.
| int getFieldInt | ( | string | name ) |
get value of int field
Definition at line 246 of file JsonParser.cpp.
| string getFieldString | ( | string | name ) |
get value of string field
Definition at line 254 of file JsonParser.cpp.
| bool hasField | ( | string | name ) |
check that object has field
Definition at line 218 of file JsonParser.cpp.
Field Documentation
| vector<MVJSONValue*> values |
values (props)
Definition at line 114 of file JsonParser.h.
Generated on Tue Jul 12 2022 18:55:02 by
1.7.2