Skip to content

Custom Event Data json object property ordering is not preserved #1294

Open
@niemyjski

Description

@niemyjski

The following event json data is not properly preserved after submission:

{
  "type": "log",
  "source": "custom_json_string",
  "message": "custom json string",
  "data": {
      "custom_json_string": "{\"Age\":20,\"Height\":72,\"Attributes\":{\"Values\": [],\"Happy\": true},\"Qualified\":true}"
  }
}

When the value comes back it looks like this

{
  "Attributes": {
    "Happy": true,
    "Values": []
  },
  "Height": 72,
  "Qualified": true,
  "Age": 20
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions