[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [PATCH 5/5] Add script to test for JSON validity
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] [PATCH 5/5] Add script to test for JSON validity |
Date: |
Tue, 19 Jun 2012 21:47:49 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
address@hidden <address@hidden>:
> This simple script can be used to check if the JSON cade presented on its
> standard input is valid JSON.
> It has already been very useful to chase up typos in gpsd_json.c
I haven't applied this because there was some talk on the list (which
you appeared to agree with) that a more general-purpose validator like
jsonlint might be better suited for this application.
If you decide this specialized script is better, please wrote a patch that
puts it in devtools/, with an explanatory comment in devtools/README.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
- [gpsd-dev] [PATCH 0/5] [AIS] Modifications with potential side effects, chris, 2012/06/05
- [gpsd-dev] [PATCH 5/5] Add script to test for JSON validity, chris, 2012/06/05
- Re: [gpsd-dev] [PATCH 5/5] Add script to test for JSON validity,
Eric S. Raymond <=
- [gpsd-dev] [PATCH 1/5] gpsdecode: honor scale flag, chris, 2012/06/05
- [gpsd-dev] [PATCH 2/5] gpsd_hexdump: Always dump in hex mode, chris, 2012/06/05
- [gpsd-dev] [PATCH 3/5] json.h: Change JSON_VAL_MAX from 120 to 512, chris, 2012/06/05
- [gpsd-dev] [PATCH 4/5] Add BS talker ID (used by AIS base stations), chris, 2012/06/05
- Re: [gpsd-dev] [PATCH 0/5] [AIS] Modifications with potential side effects, Eric S. Raymond, 2012/06/05