Skip to content

Why '/' not valid in JSON key? #179

@abs

Description

@abs

Heya!

I'm compiling some generated code that looks sort of like this:

@derive Jason.Encoder
defstruct [
:hello,
:"hello/world"
]

It's failing because of:

image

It seems that '/' is perfectly valid in a JSON key - what's the reason for having this check here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions