23 bool parse(
const QString& fileName);
24 bool parse( QIODevice* device );
25 bool parse(
const QByteArray& bytesIn );
43 QString errorMessage_;
QString fullErrorMessage() const
Returns the full eror message.
Definition: jsonparser.cpp:141
JsonParser()
Constructs the jsonparser.
Definition: jsonparser.cpp:20
int errorLine() const
returns the line number of the error
Definition: jsonparser.cpp:127
QByteArray stripCommentsFromJson(const QByteArray &bytesIn)
reads all bytes from the io device, while removing comments and keeping the number of lines quick and...
Definition: jsonparser.cpp:150
QVariant result()
Returns the result of the json parsing.
Definition: jsonparser.cpp:105
int errorColumn() const
Returns the error column.
Definition: jsonparser.cpp:134
bool parse(const QString &fileName)
loads the given keymap file returns true on success
Definition: jsonparser.cpp:39
QString errorMessage() const
Returns the errormessage.
Definition: jsonparser.cpp:120
Copyright 2011-2013 - Reliable Bits Software by Blommers IT.
Definition: commentcommand.cpp:22
virtual ~JsonParser()
The parser destructor.
Definition: jsonparser.cpp:31
void clearErrors()
Clears the error flags/variables.
Definition: jsonparser.cpp:112
A Json Parser that supports strings in json sources! standard json doesn't support comments...
Definition: jsonparser.h:17