Add test suite for json marshalling
commit6ee5920243cc5fe35d219fa2883a673b91808c0f
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 11 Nov 2009 19:16:03 +0000 (11 13:16 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 17 Nov 2009 14:49:40 +0000 (17 08:49 -0600)
treeef089bf152f2bedad97bae8428c75a5b10c11668
parent1fd825f785975a430fbbaff7d80694cc7504360e
Add test suite for json marshalling

By reusing the qjson test suite.  After checking that we can demarshal, marshal
again and compared to the expected decoded value.  This doesn't work so well
for floats because they cannot be accurately represented in decimal but we
try our best.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
check-qjson.c