[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] Tests: About adding a JSON validator

From: Christian Gagneraud
Subject: [gpsd-dev] Tests: About adding a JSON validator
Date: Sat, 02 Jun 2012 22:38:24 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120421 Thunderbird/12.0


While working on having the AIS code better tested, I wrote a simple python script that try to parse the JSON dump of the AIVDM mesages, and I discovered two syntax errors in it (2 non quoted string values).

I then did the same with all the JSON files in test/ but i didn't discover more problems.

Do you thinks, it would be good to have this kind of thing added to "scons check"?


Christian Gagneraud,
Embedded systems engineer.
Techworks Marine
1 Harbour road
Dun Laoghaire
Co. Dublin
Tel: + 353 (0) 1 236 5990

reply via email to

[Prev in Thread] Current Thread [Next in Thread]