Loading...
Searching...
No Matches
opennn::JsonDocument Class Reference
#include <json.h>
Public Member Functions | |
| void | load (const filesystem::path &path) |
| void | save (const filesystem::path &path, int indent=2) const |
| const Json * | first_child (const string &name) const |
| const Json * | first_child () const |
Static Public Member Functions | |
| static JsonDocument | wrap (const string &tag, Json value) |
Public Attributes | |
| Json | root |
Member Function Documentation
◆ first_child() [1/2]
|
inlinenodiscard |
◆ first_child() [2/2]
|
nodiscard |
◆ load()
| void opennn::JsonDocument::load | ( | const filesystem::path & | path | ) |
◆ save()
| void opennn::JsonDocument::save | ( | const filesystem::path & | path, |
| int | indent = 2 ) const |
◆ wrap()
|
staticnodiscard |
Member Data Documentation
◆ root
| Json opennn::JsonDocument::root |