Asterisk - The Open Source Telephony Project  18.5.0
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 829 of file json.h.

Field Documentation

◆ column

int column

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

Definition at line 833 of file json.h.

Referenced by ast_ari_get_docs(), copy_error(), fetch_google_access_token(), and parse_error().

◆ line

int line

Line number error occured on

Definition at line 831 of file json.h.

Referenced by ast_ari_get_docs(), copy_error(), fetch_google_access_token(), and parse_error().

◆ position

int position

Position in bytes from start of input

Definition at line 835 of file json.h.

Referenced by copy_error(), and parse_error().

◆ source

Source of the error (filename or <string>)

Definition at line 839 of file json.h.

Referenced by ast_ari_get_docs(), copy_error(), and parse_error().

◆ text

Error message

Definition at line 837 of file json.h.

Referenced by ast_ari_get_docs(), copy_error(), fetch_google_access_token(), and parse_error().


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