diff options
Diffstat (limited to 'include/proj/metadata.hpp')
| -rw-r--r-- | include/proj/metadata.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/proj/metadata.hpp b/include/proj/metadata.hpp index d32996fb..37241e6f 100644 --- a/include/proj/metadata.hpp +++ b/include/proj/metadata.hpp @@ -361,7 +361,8 @@ using IdentifierNNPtr = util::nn<IdentifierPtr>; * originates from \ref ISO_19115 */ class PROJ_GCC_DLL Identifier : public util::BaseObject, - public io::IWKTExportable { + public io::IWKTExportable, + public io::IJSONExportable { public: //! @cond Doxygen_Suppress PROJ_DLL Identifier(const Identifier &other); @@ -401,6 +402,9 @@ class PROJ_GCC_DLL Identifier : public util::BaseObject, PROJ_INTERNAL void _exportToWKT(io::WKTFormatter *formatter) const override; // throw(io::FormattingException) + PROJ_INTERNAL void _exportToJSON(io::JSONFormatter *formatter) + const override; // throw(io::FormattingException) + //! @endcond protected: |
