Skip to content

CSAPI - CSAPI expects fields to be ordered when parsing JSON #275

@tipatterson-dev

Description

@tipatterson-dev

The JSON spec defines objects as unordered: https://www.json.org/json-en.html

This causes quite a few issues depending on how a language does serialization and deserialization. In JS/TS for example JSON.stringify() will often reorder fields. This can be worked around, but the behavior is not expected.

It does not seem like it is user friendly to expect that request bodies are strictly ordered.

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