Skip to content

"Sort by key" causes the value type to change #221

Description

@yang-chengye

Hi,

When I use the "Sort by key" function, after sorting, it converts the number type to a string type.
See "age" in the example below.

Before sorting
{ "name": "Ycy", "age": 27, "is_student": false }

After sorting
{ "age": "27", "is_student": false, "name": "Ycy" }

My plugin version is 2.1.1.0 and npp version is 8.8.5
Looking forward to your reply, thx.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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