JSON Checker is a console-based tool implemented as a Pushdown Automaton that very quickly determines if a JSON text is syntactically correct. It could be used to filter inputs to a system, or to verify that the outputs of a system are syntactically correct.
JSON Checker is a straight C# port of JSON_checker written in C.
Download JSON Checker v1.0 (build 9330) . It includes C# source code as well as binaries compiled in debug and release configurations.
JSON Checker reads the JSON text source from the standard input
and emits a message on the standard error as soon as it encounters
a syntax error. JSON Checker does not attempt to recover errors so
it halts further processing once a syntax error has been detected.
To check a file, use JSON Checker on the Windows Command Prompt as
FILE with the actual
$ jsonchk < FILE
To check several files in a single run, consider using
$ for %i in (*.json) do jsonchk < %i
JSON Checker requires requires Microsoft .NET Framework 2.0 to run and supports the same set of operating systems as the runtime.
Copyright (c) 2007, Atif Aziz. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.