jwvg0425/cppson

handle boolean type values which not wrapped with quotes.

Closed this issue · 1 comments

In standard json format, json can accept 'null', 'false' and 'true' values. but your implementation cannot parse boolean types which not wrapped with quotes("").

expected result

JSON_CLASS(Foo)
{
public:
  FIELD(bool, b);
}
{
  "b" : true
}

fixed.