Skip to content

to_json: no object key string escaping #409

Description

@arcoRocks
  • Compiler Used: Microsoft Visual C++ 2017
  • Operating System: Windows 10
  • Architecture (ARM/x86/32bit/64bit/etc): 32/64

Expected Behavior

to_json(from_json("{\"aa\\\\zz\": \"aa\\\\zz\"}"))
{
  "aa\\zz" : "aa\\zz"
}

Actual Behavior

to_json(from_json("{\"aa\\\\zz\": \"aa\\\\zz\"}"))
{
  "aa\zz" : "aa\\zz"
}

Minimal Example to Reproduce Behavior

to_json(from_json("{\"aa\\\\zz\": \"aa\\\\zz\"}"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions