Set class contents from JSON string.
Parses the provided JSON-formatted string and sets the class data. String should be formatted like the string returned from to_json()
2242 cerr<<
"ERROR: <"<<error<<
">"<<endl;
uint16_t time_status
Time Status.
Definition: jsondef.h:2186
Definition: json11.hpp:79
rvector dgeocs
Geocentric position error: x, y, z.
Definition: jsondef.h:2168
uint16_t position_type
Position Type.
Definition: jsondef.h:2188
float heading
GPS heading.
Definition: jsondef.h:2180
rvector dgeocv
Geocentric velocity error: x, y, z.
Definition: jsondef.h:2170
static Json parse(const std::string &in, std::string &err, JsonParse strategy=JsonParse::STANDARD)
static void dump(NullStruct, string &out)
Definition: json11.cpp:53
rvector geocs
Definition: jsondef.h:2164
gvector geods
Geodetic position: longitude, latitude, altitude.
Definition: jsondef.h:2172
rvector geocv
Geocentric velocity: x, y, z.
Definition: jsondef.h:2166
gvector dgeods
Geodetic position error: longitude, latitude, altitude.
Definition: jsondef.h:2176
void from_json(const string &s)
Set class contents from JSON string.
Definition: vector.h:80
uint16_t sats_visible
number of satellites visible by GPS receiver
Definition: jsondef.h:2184
uint16_t sats_used
number of satellites used by GPS receiver
Definition: jsondef.h:2182
gvector geodv
Geodetic velocity: longitude, latitude, altitude.
Definition: jsondef.h:2174
double dutc
UTC time error.
Definition: jsondef.h:2160
uint16_t solution_status
Solution Status.
Definition: jsondef.h:2190
void from_json(const string &s)
Set class contents from JSON string.
Definition: vector.h:256
int int_value() const
Definition: json11.cpp:281
gvector dgeodv
Geodetic velocity error: longitude, latitude, altitude.
Definition: jsondef.h:2178
double number_value() const
Definition: json11.cpp:280