.. ---------------------------------------------------------------------------------------------- Copyright (c) The Einsums Developers. All rights reserved. Licensed under the MIT License. See LICENSE.txt in the project root for license information. ---------------------------------------------------------------------------------------------- .. _cppapi_DocsJson: ======== DocsJson ======== .. note:: Generated from the C++ headers by ``apiary --emit-cpp-docs-json``. .. cpp:namespace:: apiary .. cpp:function:: std::string emit_docs_json(const Module &module_, const std::string &module_name) Serialize `module_` to a pretty-printed JSON string per the schema above. :param module_: The binding IR module to serialize. :param module_name: Recorded as the document's "module" field (the Python import name, e.g. "einsums"). :returns: The pretty-printed docs-JSON document as a string.