Improve error reporting in our JSON conversions
Reporting things such as the following in our error messages (indentation added by me, not originally present, so it's even worse): JSArray [JSArray [JSRational False (1 % 1),JSString (JSONString {fromJSString = "a"})], JSArray [JSRational False (2 % 1), JSString (JSONString {fromJSString = "b"})]] Is not really nice. This patch adds more 'pp_value' conversions so that the above becomes: [[1, "a"], [2, "b"]] Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Agata Murawska <agatamurawska@google.com>
Please register or sign in to comment