|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Polymorphic interface for visitation-based parsing of JSON object properties. More...
#include <GREM/core/formats/json.hpp>

Public Member Functions | |
| virtual void | visitProperty (const SourceLocation &source, StringBase< Allocator > &&key, Parser &parser)=0 |
| Callback for each object property. | |
Protected Member Functions | |
| ~PropertyVisitor ()=default | |
Polymorphic interface for visitation-based parsing of JSON object properties.
|
protecteddefault |
|
pure virtual |
Callback for each object property.
| source | location of the beginning of the property's value. |
| key | the property's name string. |
| parser | parser that should be used to parse the property's value. |
| json::Error | on invalid input. |
| any | exception thrown by the concrete implementation. |
Implemented in grem::json::Parser< It, Allocator >::ConcretePropertyVisitor< Visitor >, and grem::json::Parser< It, Allocator >::SkipPropertyVisitor.