Skip to content

'Native' JSON support #18

Open
Open
@BlackFlash5

Description

@BlackFlash5

Goal

If you want to work with JSON you'd have to ship an 'old' portable build of e.g. Json.NET (aka Newtonsoft.Json) with your resource.
Only portable builds are supported by FiveM (at least in v1), but building as portable-net45 is deprecated and many libs dropped support.
The goal would be to have a JSON implementation like Json.NET or System.Text.Json in v2 without providing 3rd party libs with your resource.

Importancy

Overal quality to the runtime

API and/or potential implementation

System.Text.Json is getting shipped with the runtime since .NET Core 3.0, but is also compatible with older versions and .NET Framework.
Would it be possible to ship System.Text.Json with v2?

Extra

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    deferredAction on this has been deferred to a later timeenhancementNew feature or requeststaleIssue hasn't seen any activity for too long, prone to get closedtriageThis issue needs to be triaged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions