ledergec / rapidschema

Abstraction Layer on Top of Rapidjson which allows easy and efficient Json Schema Parsing
Other
3 stars 0 forks source link

SAX API Reading #24

Open ledergec opened 5 years ago

ledergec commented 5 years ago

Rapidjson comes with a SAX api. This is already used for serialization. However, its not yet used for parsing.

Parsing is challenging per se but gets more challenging in the presence of Variant / AllOf etc. where the events need to be potentially sent multiple times. This could potentially be solved by using an input stream which can be reset to a previous position.

ledergec commented 5 years ago

autojsoncxx has some inspiration for code: https://netheril96.github.io/autojsoncxx/user_guide/type_support/