Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_json_error Struct Reference

JSON parsing error information. More...

#include <json.h>

Data Fields

int column
 
int line
 
int position
 
char source [AST_JSON_ERROR_TEXT_LENGTH]
 
char text [AST_JSON_ERROR_TEXT_LENGTH]
 

Detailed Description

JSON parsing error information.

Since
12.0.0

Definition at line 887 of file json.h.

Field Documentation

int column

Character (not byte, can be different for UTF-8) column on which the error occurred.

Definition at line 891 of file json.h.

Referenced by copy_error().

int line

Line number error occured on

Definition at line 889 of file json.h.

Referenced by copy_error().

int position

Position in bytes from start of input

Definition at line 893 of file json.h.

Referenced by copy_error().

char source[AST_JSON_ERROR_TEXT_LENGTH]

Source of the error (filename or <string>)

Definition at line 897 of file json.h.

Referenced by copy_error().

char text[AST_JSON_ERROR_TEXT_LENGTH]

Error message

Definition at line 895 of file json.h.

Referenced by copy_error().


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