Skip to content

fix(dumpkit): JSON output for test.pcapng does not parse #1152

Closed

Description

@JarryShaw

Describe the bug
With the default engine, extract(fin='test.pcapng', format='json') writes JSON that does not parse: Expecting ':' delimiter: line 1019 column 12. Because PyShark falls back to the default engine, it is affected too. The behaviour is the same before and after #1149.

Reproduction
Generate test.pcapng with make_samples.py, extract it to JSON, then json.load the output.

Expected behavior
The output file is valid JSON.

Additional context
Found by the #1104 worker. The cause may be in dictdumper, a dependency, or in pcapkit's own handling of the dumped values. That needs checking first.

Activity

  1. added
    fixPull requests that fix a defect (fix: subject prefix)
    wipWork in flight - a covering PR is open or an agent is actively on it
    on Oct 6, 2026
  2. removed
    wipWork in flight - a covering PR is open or an agent is actively on it
    on Oct 6, 2026
  3. added this to the PyPCAPKit v1.5 milestone on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixPull requests that fix a defect (fix: subject prefix)

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions