Help language development. Donate to The Perl Foundation

JSON::Hjson cpan:AKIYM last updated on 2020-07-09

t/testCases/kan_test.hjson
{
  # the comma forces a whitespace check
  numbers:
  [
    0
    0   ,
    -0
    42  ,
    42.1  ,
    -5
    -5.1
    17.01e2
    -17.01e2
    12345e-3  ,
    -12345e-3  ,
  ]
  native:
  [
    true   ,
    true
    false  ,
    false
    null   ,
    null
  ]
  strings:
  [
    x 0
    .0
    00
    01
    0 0 0
    42 x
    42.1 asdf
    1.2.3
    -5 0 -
    -5.1 --
    17.01e2 +
    -17.01e2 :
    12345e-3 @
    -12345e-3 $
    true true
    x true
    false false
    x false
    null null
    x null
  ]
}