- From: <
>
- To: <
>
- Subject: [chef] more informative error when JSON attribute has wrong syntax
- Date: Thu, 23 Sep 2010 11:13:38 +0200
Dear
all
I have a problem in
modification of attributes in JSON format,
With a fairly complex attributes in JSON format
of ROLE, if I made an error (e..g missing comma, curly
brace, apostrophe ) , the knife command does not
point
out the location near the error, so it
is very difficult to find out and correct it.
Is it anyway to get a better error message , perhaps by
using better JSON parser to parse it in
advance?
-----------------------------------------------------------------
ATTENTION:
The
information in this electronic mail message is private and
confidential, and
only intended for the addressee. Should you
receive this message by mistake,
you are hereby notified that
any disclosure, reproduction, distribution or
use of this
message is strictly prohibited. Please inform the sender
by
reply transmission and delete the message without copying or
opening
it.
Messages and attachments are scanned for all viruses known.
If this
message contains password-protected attachments, the
files have NOT been
scanned for viruses by the ING mail domain.
Always scan attachments before
opening
them.
-----------------------------------------------------------------
- [chef] more informative error when JSON attribute has wrong syntax, le.huy, 09/23/2010
Archive powered by MHonArc 2.6.16.