#include <MRMcp/MRMcp.h>
Public Member Functions | |
| Array (Base elemSchema) | |
| Public Member Functions inherited from MR::Mcp::Schema::Base | |
| const nlohmann::json & | asJson () const & |
| nlohmann::json && | asJson () && |
Additional Inherited Members | |
| Protected Member Functions inherited from MR::Mcp::Schema::Base | |
| Base (nlohmann::json json) | |
| Protected Attributes inherited from MR::Mcp::Schema::Base | |
| nlohmann::json | json |
A schema describing an array of whatever is passed to the constructor. For an array of arrays write Array( Base( Array( ... ) ) ): Array( Array( ... ) ) is just the inner array, because initializing from a prvalue of the same type skips the constructors.
|
inline |