morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::detail::DocumentParser Class Reference

Turns the JSON of a document into its model, refusing what does not parse. More...

#include <document.hpp>

Public Member Functions

Document parse (Json const &json)
 Parses the whole document.

Detailed Description

Turns the JSON of a document into its model, refusing what does not parse.

Definition at line 1064 of file document.hpp.

Member Function Documentation

◆ parse()

Document morph::ui::detail::DocumentParser::parse ( Json const & json)
inlinenodiscard

Parses the whole document.

Parameters
jsonThe document.
Returns
The model, not yet checked against its names.

Definition at line 1069 of file document.hpp.


The documentation for this class was generated from the following file: