MCPcopy Create free account
hub / github.com/OSGeo/gdal / SaveAsString

Method SaveAsString

port/cpl_json.cpp:137–141  ·  view source on GitHub ↗

* Return the json document as a serialized string. * @return serialized document. * */

Source from the content-addressed store, hash-verified

135 *
136 */
137std::string CPLJSONDocument::SaveAsString() const
138{
139 return json_object_to_json_string_ext(TO_JSONOBJ(m_poRootJsonObject),
140 JSON_C_TO_STRING_PRETTY);
141}
142
143/**
144 * Get json document root object

Callers 11

ProcessMetadataFunction · 0.80
GenerateMetadataMethod · 0.80
GetUsageAsJSONMethod · 0.80
RunStepMethod · 0.80
GetUsageAsJSONMethod · 0.80
CopyFileRestartableMethod · 0.80
CloneMethod · 0.80
LoadArrayMethod · 0.80
NCDFReadMetadataAsJsonFunction · 0.80
InitWithTilesAPIMethod · 0.80

Calls 1

Tested by

no test coverage detected