📝 add more documentation
This commit is contained in:
parent
a84370c61f
commit
d8d499ce9b
6 changed files with 13 additions and 9 deletions
|
|
@ -14,6 +14,7 @@ interface json::sax_t {
|
|||
+ {abstract} bool number_float(number_float_t val, const string_t& s)
|
||||
|
||||
+ {abstract} bool string(string_t& val)
|
||||
+ {abstract} bool binary(binary_t& val)
|
||||
|
||||
+ {abstract} bool start_object(std::size_t elements)
|
||||
+ {abstract} bool end_object()
|
||||
|
|
@ -41,6 +42,8 @@ bool number_float(number_float_t val, const string_t& s);
|
|||
|
||||
// called when a string is parsed; value is passed and can be safely moved away
|
||||
bool string(string_t& val);
|
||||
// called when a binary value is parsed; value is passed and can be safely moved away
|
||||
bool binary(binary& val);
|
||||
|
||||
// called when an object or array begins or ends, resp. The number of elements is passed (or -1 if not known)
|
||||
bool start_object(std::size_t elements);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue