Enum yajl_gen_status

Enum Documentation

enum yajl_gen_status

Generator status codes.

Values:

enumerator yajl_gen_status_ok

No error.

enumerator yajl_gen_keys_must_be_strings

At a point where a map key is generated, a function other than yajl_gen_string() was called.

enumerator yajl_max_depth_exceeded

YAJL’s maximum generation depth was exceeded. See YAJL_MAX_DEPTH

enumerator yajl_gen_in_error_state

A yajl_gen_XXX() generator function was called while in an error state.

enumerator yajl_gen_generation_complete

A complete JSON document has been generated.

enumerator yajl_gen_invalid_number

yajl_gen_double() was passed an invalid floating point value (infinity or NaN) without yajl_gen_json5 set.

enumerator yajl_gen_no_buf

A print callback was passed in, so there is no internal buffer to get from.

enumerator yajl_gen_invalid_string

Returned from yajl_gen_string() when the yajl_gen_validate_utf8 option is enabled and an invalid UTF8 code was passed by client.