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 807 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 811 of file json.h.

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

int line

Line number error occured on

Definition at line 809 of file json.h.

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

int position

Position in bytes from start of input

Definition at line 813 of file json.h.

Referenced by copy_error(), and parse_error().

char source[AST_JSON_ERROR_TEXT_LENGTH]

Source of the error (filename or <string>)

Definition at line 817 of file json.h.

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

char text[AST_JSON_ERROR_TEXT_LENGTH]

Error message

Definition at line 815 of file json.h.

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


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

Generated on Thu Apr 16 06:35:24 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6