JW_FLT
- Macro
- August 22, 2025
Table of Contents
JW_FLT
JW_FLT
Description
Append a floating-point value to a JSON string.
Parameters
Name | Direction | Description |
---|---|---|
j | in,out | The target string to append to. |
f | in | Floating-point value. |
Usage example (from documentation)
JW_FLT(json, 3.14);
Success
Appends a float value to json
Failure
Does not return on failure
Usage example (Cross-references)
- In
JSON.h:864
:
} \
StrAppendf(&(j), "\"%s\":", k); \
JW_FLT(j, f); \
} while (0)