mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
d0821adf0e
* This implementations string serialization for On Demand instances. * Adding more documentation. * Another remark. * Marking the new functions as inline. * casts apparently do not work. * Upgrading the API. * Making the code really free from exceptions. * At another fix for exceptionless. * Modify to_chars so that it does not pad integers with '.0'. * Negative 0 cannot be expressed as an integer. * Again, accomodating exceptionless usage. * Using x <= -0 does not allow you to determine the sign since 0 <= -0. I am not sure where this bug comes from.
33 lines
1.2 KiB
C++
33 lines
1.2 KiB
C++
namespace simdjson {
|
|
namespace SIMDJSON_IMPLEMENTATION {
|
|
/**
|
|
* A fast, simple, DOM-like interface that parses JSON as you use it.
|
|
*
|
|
* Designed for maximum speed and a lower memory profile.
|
|
*/
|
|
namespace ondemand {
|
|
|
|
/** Represents the depth of a JSON value (number of nested arrays/objects). */
|
|
using depth_t = int32_t;
|
|
|
|
} // namespace ondemand
|
|
} // namespace SIMDJSON_IMPLEMENTATION
|
|
} // namespace simdjson
|
|
|
|
#include "simdjson/generic/ondemand/json_type.h"
|
|
#include "simdjson/generic/ondemand/token_position.h"
|
|
#include "simdjson/generic/ondemand/logger.h"
|
|
#include "simdjson/generic/ondemand/raw_json_string.h"
|
|
#include "simdjson/generic/ondemand/token_iterator.h"
|
|
#include "simdjson/generic/ondemand/json_iterator.h"
|
|
#include "simdjson/generic/ondemand/value_iterator.h"
|
|
#include "simdjson/generic/ondemand/array_iterator.h"
|
|
#include "simdjson/generic/ondemand/object_iterator.h"
|
|
#include "simdjson/generic/ondemand/array.h"
|
|
#include "simdjson/generic/ondemand/document.h"
|
|
#include "simdjson/generic/ondemand/value.h"
|
|
#include "simdjson/generic/ondemand/field.h"
|
|
#include "simdjson/generic/ondemand/object.h"
|
|
#include "simdjson/generic/ondemand/parser.h"
|
|
#include "simdjson/generic/ondemand/serialization.h"
|