Pharos 0.7.23
Modern Web Framework & Web App Hosting Service.
Loading...
Searching...
No Matches
yyjson_read_err Struct Reference

#include <yyjson.h>

Data Fields

yyjson_read_code code
const char * msg
size_t pos

Detailed Description

Error information for JSON reader.

Definition at line 958 of file yyjson.h.

Field Documentation

◆ code

yyjson_read_code yyjson_read_err::code

Error code, see yyjson_read_code for all possible values.

Definition at line 960 of file yyjson.h.

Referenced by yyjson_incr_read(), and yyjson_read_opts().

◆ msg

const char* yyjson_read_err::msg

Error message, constant, no need to free (NULL if success).

Definition at line 962 of file yyjson.h.

Referenced by yyjson_incr_read(), and yyjson_read_opts().

◆ pos

size_t yyjson_read_err::pos

Error byte position for input data (0 if success).

Definition at line 964 of file yyjson.h.

Referenced by yyjson_incr_read(), and yyjson_read_opts().


The documentation for this struct was generated from the following file: