Document navigation API

This commit is contained in:
John Keiser
2020-02-24 20:59:38 -08:00
parent 9a9ca974c2
commit 0b21203141
14 changed files with 1926 additions and 189 deletions
+3
View File
@@ -23,6 +23,9 @@ const std::map<int, const std::string> error_strings = {
{UNSUPPORTED_ARCHITECTURE, "simdjson does not have an implementation"
" supported by this CPU architecture (perhaps"
" it's a non-SIMD CPU?)."},
{INCORRECT_TYPE, "The JSON element does not have the requested type."},
{NUMBER_OUT_OF_RANGE, "The JSON number is too large or too small to fit within the requested type."},
{NO_SUCH_FIELD, "The JSON field referenced does not exist in this object."},
{UNEXPECTED_ERROR, "Unexpected error, consider reporting this problem as"
" you may have found a bug in simdjson"},
};