GCC Middle and Back End API Reference
|
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "json.h"
#include "pretty-print.h"
#include "math.h"
#include "make-unique.h"
#include "selftest.h"
Functions | |
static void | print_escaped_json_string (pretty_printer *pp, const char *utf8_str, size_t len) |
|
static |
Print a JSON string to PP, escaping '"', control characters, and embedded null bytes. The string is required to be UTF-8 encoded.
References i, pp_character(), and pp_string().
Referenced by json::object::print(), and json::string::print().