Content-Length: 299688 | pFad | http://github.com/simdjson/simdjson/issues/2540

ad Feature Request: Supporting non-standard "relaxed" JSON syntaxes · Issue #2540 · simdjson/simdjson · GitHub
Skip to content

Feature Request: Supporting non-standard "relaxed" JSON syntaxes #2540

Description

@aylindmello

Is your feature request related to a problem? Please describe.

Hi, I noticed that non-standard “relaxed” JSON is not currently supported in simdjson. For example, Infinity/NaN number literals, C-style comments, and trailing commas in JSON files.

I am considering moving to simdjson from rapidjson, so I would like to know whether the simdjson project is open to accepting pull requests enabling these relaxed JSON syntaxes.

Describe the solution you'd like

These "relaxed" JSON syntaxes should be gated by a (possibly build-time?) flag to avoid reducing performance for users with standards-conformant JSON files.

Additional context

I saw a few GitHub issues about this: #1540 #2347 #2414

Based on the comments in these issues, it seems like you are likely to accept well-written PRs enabling non-standard "relaxed" JSON syntax. But I just wanted to double-check before writing any code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: http://github.com/simdjson/simdjson/issues/2540

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy