JR_FLT

Table of Contents

JR_FLT

Description

Read a JSON float value from stream and assign to target.

Parameters

NameDirectionDescription
siin,outJSON stream iterator to read from.
foutFloat variable to store the value.

Usage example (from documentation)

  JR_FLT(si, temperature);

Success

f contains the parsed float

Failure

si updated to failure state on parse error

Usage example (Cross-references)

No external code usages found in the scanned files.

Share :

Related Posts

JR_STR

JR_STR Description Read a JSON string value from stream and assign to target. The resulting string is dynamically allocated in Str format.

Read More

JReadNumber

JReadNumber Description Read a JSON number (int or float) from input string.

Read More

JR_INT_KV

JR_INT_KV Description Read an integer key-value pair if key matches.

Read More