Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 4,691
  • Compare
  • Branches 1
  • Tags 0
  • qpdf
  • libqpdf
  • JSON.cc
16 Feb, 2025
1 commit
  • In JSON::parse allow duplicate dictionary keys ...
    78012927
    If duplicate keys are encountered, overwrite earlier values with the latest
    value.
    m-holger authored
    2025-02-16 12:05:04 +0000  
    Browse File »

16 Feb, 2024
1 commit
  • Add new private class JSON::Writer ...
    9e90007a
    Create a simple utility class for writing JSON to a pipeline.
    m-holger authored
    2024-02-16 10:32:41 +0000  
    Browse File »

06 Feb, 2024
1 commit
  • Detect end of input inside an unfinished JSON string
    b1b789df
    Jay Berkenbilt authored
    2024-02-06 15:30:29 -0500  
    Browse File »

04 Feb, 2024
1 commit
  • Fix JSON parser error found by fuzz
    7ae095fa
    Jay Berkenbilt authored
    2024-02-04 17:27:49 -0500  
    Browse File »

18 Jan, 2024
1 commit
  • Handle default-constructed JSON objects
    b6a2b5d3
    m-holger authored
    2024-01-18 10:06:43 +0000  
    Browse File »

15 Jan, 2024
1 commit
  • Add new method JSON::getDictItem
    a41b7899
    m-holger authored
    2024-01-15 15:02:52 +0000  
    Browse File »

09 Jun, 2023
3 commits
  • Code tidy - Clang-Tidy rule modernize-use-default-member-init
    5906dd5c
    m-holger authored
    2023-06-09 15:43:21 +0100  
    Browse File »
  • Code tidy - Clang-Tidy rule modernize-use-emplace
    7bc0f1d8
    m-holger authored
    2023-06-09 15:42:11 +0100  
    Browse File »
  • Code tidy - Clang-Tidy rule modernize-return-braced-init-list
    320bbb98
    m-holger authored
    2023-06-09 15:35:56 +0100  
    Browse File »

27 May, 2023
1 commit
  • Code tidy - reflow comments and strings
    698a70e6
    m-holger authored
    2023-05-27 10:54:19 +0100  
    Browse File »

21 May, 2023
2 commits
  • Rerun clang-format
    60965d5f
    Jay Berkenbilt authored
    2023-05-21 13:35:09 -0400  
    Browse File »
  • Globally replace 'this->m->' with 'm->' ...
    85d78495
    Using search and replace.
    m-holger authored
    2023-05-21 14:42:34 +0100  
    Browse File »

20 May, 2023
1 commit
  • Use auto when initializing with a cast
    2fa58153
    m-holger authored
    2023-05-20 15:41:44 +0100  
    Browse File »

23 Mar, 2023
1 commit
  • Add new function QUtil::hex_decode_char
    0795b695
    m-holger authored
    2023-03-23 20:23:37 +0000  
    Browse File »

19 Feb, 2023
2 commits
  • Change JSON::Members::value to std::unique_ptr
    7ae1e80f
    m-holger authored
    2023-02-19 12:06:36 +0000  
    Browse File »
  • Change JSON_dictionary and JSON_array to store JSON objects rather than std::shared_ptr<JSON_value> ...
    a4f3dddb
    Recognise that JSON objects are effectively shared pointers to JSON_value.
    m-holger authored
    2023-02-19 12:05:53 +0000  
    Browse File »

18 Feb, 2023
1 commit
  • Merge pull request #890 from m-holger/jpsp ...
    e4e03e9a
    Eliminate the use of shared pointers in JSONParser
    Jay Berkenbilt authored
    2023-02-18 17:43:02 -0500  
    Browse File »

11 Feb, 2023
1 commit
  • Refactor JSON type checks
    d80b63c3
    m-holger authored
    2023-02-11 15:44:03 -0500  
    Browse File »

05 Feb, 2023
2 commits
  • Eliminate the use of shared pointers in JSONParser
    b6f04854
    m-holger authored
    2023-02-05 12:46:38 +0000  
    Browse File »
  • Add new methods JSONParser::append and ignore ...
    f6c90195
    Reduce boilerplate and increase efficiency by avoiding setting and
    branching on action and ready in getToken.
    m-holger authored
    2023-02-05 12:44:38 +0000  
    Browse File »

04 Feb, 2023
20 commits
  • Refactor JSON::encode_string
    415e6795
    m-holger authored
    2023-02-04 15:06:43 -0500  
    Browse File »
  • In JSONParser::getToken handle structural and space chars early
    d3152869
    m-holger authored
    2023-02-04 15:00:21 +0000  
    Browse File »
  • In JSONParser::getToken handle legal control chars early ...
    ee32235f
    Also, reject them in strings.
    m-holger authored
    2023-02-04 15:00:21 +0000  
    Browse File »
  • Extend scope of JSONParser::numberError and rename tokenError ...
    f5b7448a
    Handle all incomplete token type errors in tokenError.
    m-holger authored
    2023-02-04 14:55:49 +0000  
    Browse File »
  • In JSONParser::getToken reject illegal control characters
    5ac6a12e
    m-holger authored
    2023-02-04 14:55:49 +0000  
    Browse File »
  • Remove redundant template toO in JSON
    1b89e768
    m-holger authored
    2023-02-04 14:06:26 +0000  
    Browse File »
  • Integrate JSONParser::decode_string into getToken
    98d9ae51
    m-holger authored
    2023-02-04 14:06:26 +0000  
    Browse File »
  • In JSONParser::getToken decode escaped chars inside state ls_backslash ...
    320245e0
    (except '\\' and '\uXXXX')
    m-holger authored
    2023-02-04 14:06:26 +0000  
    Browse File »
  • In JSONParser::getToken avoid copying '"' characters in strings
    cee746fc
    m-holger authored
    2023-02-04 14:06:26 +0000  
    Browse File »
  • Make JSONParser::getToken responsible for decoding strings
    a9a06679
    m-holger authored
    2023-02-04 14:06:26 +0000  
    Browse File »
  • In JSONParser combine stacks
    126dd31c
    m-holger authored
    2023-02-04 13:53:23 +0000  
    Browse File »
  • In JSONParser::handleToken remove next_state
    6748bd33
    m-holger authored
    2023-02-04 13:53:23 +0000  
    Browse File »
  • In JSONParser::handleToken refactor container creation
    29093a16
    m-holger authored
    2023-02-04 13:53:23 +0000  
    Browse File »
  • In JSONParser::handleToken avoid creating JSON objects for dictionary keys
    a39043f6
    m-holger authored
    2023-02-04 13:53:23 +0000  
    Browse File »
  • In JSONParser::handleToken move remaining validations into second switch statement
    f2e46c20
    m-holger authored
    2023-02-04 13:53:23 +0000  
    Browse File »
  • In JSONParser::handleToken simplify setting of start and end
    0de032bc
    m-holger authored
    2023-02-04 13:53:22 +0000  
    Browse File »
  • In JSONParser::handleToken move processing for ls_end_array and ls_end_dict into switch statement
    77ceebd6
    m-holger authored
    2023-02-04 13:53:22 +0000  
    Browse File »
  • In JSONParser::handleToken move processing for ls_colon and ls_comma into switch statement
    a7338ab1
    m-holger authored
    2023-02-04 13:53:22 +0000  
    Browse File »
  • In JSONParser::handleToken move validation for ls_colon etc into switch statement
    4dba3c95
    m-holger authored
    2023-02-04 13:53:22 +0000  
    Browse File »
  • In JSONParser::handleToken move string decoding into switch statement
    6f94a3a8
    m-holger authored
    2023-02-04 13:53:22 +0000  
    Browse File »