-
Notifications
You must be signed in to change notification settings - Fork 114
Nathan Youngman edited this page Oct 27, 2012
·
3 revisions
If you use the HTML
encoder, you need a CodeRay stylesheet. Try running:
coderay_stylesheet > coderay.css
or use the Div
(inline styles) or Page
(standalone HTML page) encoders.
Read about Scanner Requests.
That’s because you use invalid JSON. It doesn’t allow comments, unquoted keys, single-quoted strings, the value undefined
, or embedded walruses. CodeRay highlights all these as errors.
You can either abandon invalid JSON, or use the JavaScript scanner, which handles everything except embedded walruses.
Also read an elaborate answer about the Picky JSON Scanner.