* Return the json document as a serialized string. * @return serialized document. * */
| 135 | * |
| 136 | */ |
| 137 | std::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 |
no test coverage detected