LibreOffice Module tools (master) 1
Namespaces | Functions | Variables
json_writer.cxx File Reference
#include <tools/json_writer.hxx>
#include <stdio.h>
#include <cstring>
#include <rtl/math.hxx>
Include dependency graph for json_writer.cxx:

Go to the source code of this file.

Namespaces

namespace  tools
 Note: this class is a true marvel of engineering: because the author could not decide whether it's better to have a closed or half-open interval, they just implemented both in the same class!
 

Functions

static char tools::getEscapementChar (char ch)
 
static bool tools::writeEscapedSequence (sal_uInt32 ch, char *&pos)
 

Variables

constexpr int tools::DEFAULT_BUFFER_SIZE = 2048
 These buffers are short-lived, so rather waste some space and avoid the cost of repeated calls into the allocator. More...