JSON parser: Added TODOs.

This commit is contained in:
Stephan Aßmus
2014-08-30 23:42:04 +02:00
parent ee942591ca
commit e9c77bd249
+6
View File
@@ -99,6 +99,12 @@ BJson::_Parse(BMessage& message, BString& JSON)
// in the case that we are parsing a map.
BString key("");
// TODO: Check builder return codes and throw exception, or
// change builder implementation/interface to throw exceptions
// instead of returning errors.
// TODO: Elimitate more duplicated code, for example by moving
// more code into _ParseConstant().
while (pos < length) {
switch (JSON[pos]) {
case '{':