-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43160/
-----------------------------------------------------------

Review request for mesos, Benjamin Hindman and Joris Van Remoortere.


Bugs: MESOS-4582
    https://issues.apache.org/jira/browse/MESOS-4582


Repository: mesos


Description
-------

Since some JSON libraries disallow the presence of duplicate keys, we should 
restrict our JSON library to disallow them as well, to help mitigate issues 
that arise with other restrictive JSON libraries.


Diffs
-----

  3rdparty/libprocess/3rdparty/stout/include/stout/json.hpp 
87d018386ea59b16bf69b529426b6567727ed545 
  3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp 
4ea610c3cd373f05843954763173b9bd51d8d5f5 

Diff: https://reviews.apache.org/r/43160/diff/


Testing
-------

Added `TEST(JsonTest, DuplicateKeys)` test to 
`3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp` + `make check`


Thanks,

Michael Park

Reply via email to