Skip to content
  • Emmanuele Bassi's avatar
    Implement strict parsing · 3f7f9167
    Emmanuele Bassi authored
    If the strict parsing bit is enabled:
    
    - JsonScanner will reject comments
    - JsonParser will reject multiple object and array definitions as top
      level elements
    - JsonParser will reject leading space and empty JSON data
    
    Conformance tests:
    
    - n_object_trailing_comment.json
    - n_object_trailing_comment_slash_open.json
    - n_single_space.json
    - n_structure_double_array.json
    - n_structure_no_data.json
    - n_structure_object_with_comment.json
    - n_structure_UTF8_BOM_no_data.json
    3f7f9167