Macro

FReadFmt

FReadFmt Description Read formatted data from a file stream. This is a macro wrapper around FReadFmtInternal.

Read More

FWriteFmt

FWriteFmt Description Write formatted output to a file stream. This macro internally uses StrWriteFmtInternal to format the string and then writes it to the stream.

Read More

FWriteFmtLn

FWriteFmtLn Description Write formatted output to a file stream followed by a newline character. This macro internally uses StrWriteFmtInternal to format the string and then writes it to the stream followed by a newline.

Read More

JR_ARR

JR_ARR Description Read a JSON array using a custom value reader expression. The macro parses a JSON array and calls the user-provided code block for each element. If the value can’t be parsed or reader fails to advance the iterator, the value is skipped.

Read More

JR_ARR_KV

JR_ARR_KV Description Conditionally parse a JSON array if key matches expected name.

Read More

JR_BOOL

JR_BOOL Description Read a JSON boolean value from stream and assign to target.

Read More

JR_BOOL_KV

JR_BOOL_KV Description Read a boolean key-value pair if key matches.

Read More

JR_FLT

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

Read More

JR_FLT_KV

JR_FLT_KV Description Read a float key-value pair if key matches.

Read More

JR_INT

JR_INT Description Read a JSON integer value from stream and assign to target.

Read More

JR_INT_KV

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

Read More

JR_OBJ

JR_OBJ Description Read a JSON object using a custom field reader expression. The macro parses the object and invokes the provided code block for each key-value pair. If the key is not recognized or parsing fails, the value is skipped.

Read More

JR_OBJ_KV

JR_OBJ_KV Description Conditionally parse a JSON object if key matches expected name.

Read More

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

JR_STR_KV

JR_STR_KV Description Read a string key-value pair if key matches.

Read More

JW_ARR

JW_ARR Description Write a JSON array from a vector. Each item is rendered using the provided writer. Handles inserting commas between elements.

Read More

JW_ARR_KV

JW_ARR_KV Description Write a key and an array value into a JSON object. Intended for use within a JW_OBJ. Adds commas automatically.

Read More

JW_BOOL

JW_BOOL Description Append a boolean value to the JSON as unquoted true/false.

Read More

JW_BOOL_KV

JW_BOOL_KV Description Write a key and boolean value into a JSON object.

Read More

JW_FLT

JW_FLT Description Append a floating-point value to a JSON string.

Read More

JW_FLT_KV

JW_FLT_KV Description Write a key and float value to a JSON object.

Read More

JW_INT

JW_INT Description Append an integer value to a JSON string.

Read More

JW_INT_KV

JW_INT_KV Description Write a key and integer value to a JSON object.

Read More

JW_OBJ

JW_OBJ Description Begin a JSON object and write key-value entries using JW_*_KV macros. This macro must be used as a wrapper for other JW_*_KV macros to generate a JSON object. Tracks whether commas are needed between entries using an internal flag.

Read More

JW_OBJ_KV

JW_OBJ_KV Description Write a key and nested object inside an existing JSON object. Should be called inside JW_OBJ. Adds commas appropriately based on insertion order.

Read More

JW_STR

JW_STR Description Append a string value (quoted) to the JSON.

Read More

JW_STR_KV

JW_STR_KV Description Write a key and string value into a JSON object.

Read More

LOG_ERROR

LOG_ERROR Description Writes an error-level log message. …[in] : Format string and arguments following printf-style syntax.

Read More

LOG_FATAL

LOG_FATAL Description Writes a fatal log message and aborts the program. …[in] : Format string and arguments following printf-style syntax.

Read More

LOG_INFO

LOG_INFO Description Writes an informational log message. …[in] : Format string and arguments following printf-style syntax.

Read More

LOG_SYS_ERROR

LOG_SYS_ERROR Description Writes an error-level log message with errno explanation appended at the end of final string.

Read More

LOG_SYS_FATAL

LOG_SYS_FATAL Description Writes a fatal log message and aborts the program, with errno explanation appended at the end of final string.

Read More

LOG_SYS_INFO

LOG_SYS_INFO Description Writes an informational log message along with errno explanation appended at then end of final string.

Read More

ReadFmt

ReadFmt Description Read formatted input from the standard input stream (stdin). This is a convenience macro calling FReadFmt with stdin.

Read More

StrReadFmt

StrReadFmt Description Parse input string according to format string with rust-style placeholders, extracting values into provided arguments. This is a macro wrapper around StrReadFmtInternal.

Read More

WriteFmt

WriteFmt Description Write formatted output to the standard output stream (stdout). This is a convenience macro calling FWriteFmt with stdout.

Read More

WriteFmtLn

WriteFmtLn Description Write formatted output to the standard output stream (stdout) followed by a newline. This is a convenience macro calling FWriteFmtLn with stdout.

Read More