#include <iostream>
#include <sstream>
#include <fstream>
#include "rapidjson/prettywriter.h"
#include "rapidjson/pointer.h"
#include "rapidjson/filereadstream.h"
#include "rapidjson/reader.h"
#include "rapidjson/document.h"
#include "rapidjson/error/en.h"
Go to the source code of this file.
|
vrange | svg::deserialize_json_array_object_field_n (const string jdata, const string afield, const string field1, const string field2, const bool verbosep=true) |
| Deserialize json array, extract specific fields from array objects, return as vec of point_2t.
|
|
rj::Document | svg::deserialize_json_string_to_dom (const string &json) |
| Deserialize input string.
|
|
rj::Document | svg::deserialize_json_to_dom (const string input_file) |
| Deserialize input file.
|
|
rj::Document | svg::deserialize_json_to_dom_array (const string input_file) |
| Load JSON file to in-memory DOM array.
|
|
rj::Document | svg::deserialize_json_to_dom_object (const string input_file) |
| Load JSON file to in-memory DOM.
|
|
double | svg::extract_dom_value_to_double (const rj::Value &v) |
| Extract from raw JSON value to double.
|
|
int | svg::search_dom_for_int_field (const rj::Document &dom, const string finds) |
| Search DOM for integer values.
|
|
string | svg::search_dom_for_string_field (const rj::Document &dom, const string finds) |
| Search DOM for string literals.
|
|
void | svg::serialize_id_types_json (jsonstream &writer, const auto &ids, const string tag) |
| Serialize set of id_type.
|
|
◆ RAPIDJSON_HAS_STDSTRING
#define RAPIDJSON_HAS_STDSTRING 1 |