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