Function get_error_message_as_cstring

Synopsis

#include <include/sajson.h>

const char * get_error_message_as_cstring() const

Description

If not is_valid(), returns a null-terminated C string indicating why the parse failed.

Mentioned in

Source

Lines 866-868 in include/sajson.h.

const char* get_error_message_as_cstring() const {
    return formatted_error_message;
}





Add Discussion as Guest

Log in