Chlumsky/json-cpp-gen

Full settings support

Chlumsky opened this issue · 3 comments

Many Settings flags are currently ignored due to not being implemented yet. These include:

  • verboseErrors
  • checkMissingKeys
  • checkRepeatingKeys
  • nanPolicy
  • infPolicy

nanPolicy and infPolicy implemented in 8282fc7.

keyFormat and enumFormat is also not implemented, but it might be better to just remove it (at least for the time being).

Removed keyFormat and enumFormat settings because there isn't a clear way how to convert from variable names, e.g. in camel case. May be re-added later if the need arises.

Removed verboseErrors because parsers (and serializers to a degree) now always provide sufficient error data that can be converted to nice verbose error messages (see visualizeErrorPosition in main.cpp).

checkMissingKeys and checkRepeatingKeys implemented in ac1a453, making settings fully implemented.