Skip to content

JSON.parse(json, T) keys to Any instead of String #456

@polhager

Description

@polhager

The following code

JSON.parse("{\"a\":1}")

returns a JSON.Object{String, Any}, but the following

JSON.parse("{\"a\":1}", JSON.Object)

returns a JSON.Object{Any, Any}.

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