Skip to content

Incorrect JSON/NDJSON detection #57

Open
@hunter-gatherer8

Description

@hunter-gatherer8

These are pretty minor, but:

  1. Simple JSON example that is recognized as "Generic text document (text)":
    no_whitespace.json. If you add a whitespace after ":" it will be "JSON document (code)"
  2. Same example with multiple newline-delimited JSON-objects is recognized as JSON, which is understandable, but also incorrect, as NDJSON-document is not a valid JSON: ndjson.txt

Magika version: 0.5.0
Default model: standard_v1

Metadata

Metadata

Assignees

No one assigned

    Labels

    content type to import in KBThis issue is about info on a new content type, and needs to be imported in our KBmisdetectionThis issue is about a misdetection on a content type currently supportedmissing content typeThis issue requests for support of a new content type

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions