Skip to content

Attributes are out of order when doing a roundtrip #69

Open
@yenda

Description

(jsonista.core/write-value-as-string (jsonista.core/read-value "{\"attribute1\": 1, \"attribute2\": 2}"))
"{\"attribute2\":2,\"attribute1\":1}"

This is annoying in my case as I'm doing some cleanup on the json using clojure that can no-op, in which case I'd expect the same json to come back. The js code that reads it is naive and do a plain comparison

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