Skip to content

Add test for handling JSON with unordered_map headers, new string_view, json_event_parser update, bugfixes#463

Merged
beached merged 8 commits intoreleasefrom
v3
Jan 9, 2025
Merged

Add test for handling JSON with unordered_map headers, new string_view, json_event_parser update, bugfixes#463
beached merged 8 commits intoreleasefrom
v3

Conversation

@beached
Copy link
Owner

@beached beached commented Dec 22, 2024

  • This commit introduces a new test (issue_462_test) to validate the parsing of JSON objects containing unordered_map headers. It ensures correct functionality for JSON key-value mappings and integrates the test into the build and CI workflows.
  • Update the repo to the new daw::string_view type
  • Fixes json_event_parser to make using custom stack types easier
  • Some bugfixes

This commit introduces a new test (issue_462_test) to validate the parsing of JSON objects containing unordered_map headers. It ensures correct functionality for JSON key-value mappings and integrates the test into the build and CI workflows.
Set an initial stack capacity of 128 to improve performance by reducing reallocations during parsing. This ensures efficient handling of JSON events with fewer memory operations.
Reordered template parameters to prioritize StackContainerPolicy and updated related calls to use the new template structure. This improves flexibility and consistency for specifying stack container policies.
@beached beached changed the title Add test for handling JSON with unordered_map headers Add test for handling JSON with unordered_map headers, new string_view, json_event_parser update, bugfixes Jan 9, 2025
@beached beached merged commit dcf3bec into release Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant