[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="";>Eric S. Raymond</a>

reply via email to

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