Skip to content

Rename Json → JSON #59

Open
Open
@toastal

Description

@toastal

In English, acronyms and initialisms generally follow a casing where each letter is a capital letter.

JSON (JavaScript Object Notation) is a lightweight data-interchange format.

— The site for the JSON spec, https://www.json.org/json-en.html

By removing this naming, it becomes unclear that we are talking about an acronym and it goes against the casing specified by the specification. We also lose casing information by converting it as well and can do any string transform to get it back. PureScript can support the original casing and many libraries in the ecosystem use JSON. With JavaScript being by far the most common PureScript target, this needlessly differs from the ECMAScript specification as well.

Describe the solution you’d like

A replacement of JsonJSON. Any method with Json can have a deprecation tag and be an alias to the JSON counterpart in the meantime.

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