Introduce NFData instances for JSON types
authorIustin Pop <iustin@google.com>
Wed, 12 Dec 2012 00:29:28 +0000 (01:29 +0100)
committerIustin Pop <iustin@google.com>
Mon, 17 Dec 2012 11:38:30 +0000 (12:38 +0100)
commitdaa7941478b73d8057389fe27797a670bcaa398e
tree69eb42ff0378fae7176bd1eee7153830197055a0
parent77d43564742d2cc6dd80a062c4cf01059b58580c
Introduce NFData instances for JSON types

The JSValue/JSObject types don't come with a NFData instance, so let's
add one ourselves, so that we can force evaluation of JSValues (either
when building or when reading them).

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
htools/Ganeti/JSON.hs