pygments-json
pygments-json copied to clipboard
Numbers parsed incorrectly
There's an existing issue on pygments-main for this, but I thought I should bring it to your attention:
https://bitbucket.org/birkenfeld/pygments-main/issue/769/incomplete-number-format-in-json-lexer
Any number with a decimal point causes parsing to fail, as of Pygments 1.5.
I've tried to pretty print a JSON object with decimal numbers in it as well as a standalone JSON with just a decimal number and it worked just fine.