more JSON spec questions

Mark S. Miller erights at google.com
Wed Aug 26 18:07:35 PDT 2009


On Wed, Aug 26, 2009 at 5:02 PM, Oliver Hunt<oliver at apple.com> wrote:
>
> From sections 7.8.3 and 15.12.1.1
> JSONNumber ::
>  -<opt> DecimalIntegerLiteral JSONFraction <opt> ExponentPart <opt>
> DecimalIntegerLiteral ::
> 0
> NonZeroDigit DecimalDigits <opt>
> eg. the only valid character left of the decimal point the begins with 0 is
> 0

As also shown by the railroad diagram: http://json.org/number.gif


-- 
    Cheers,
    --MarkM


More information about the es-discuss mailing list