Skip to content

Inconsistent escaping #1169

@robsmith11

Description

@robsmith11

Unless stringtype is set to String, it looks like double quote escaping doesn't work correctly:

shell> cat /tmp/a.csv
x,y
1,"{""a"": 2, ""b"": """"}"

julia> first(CSV.Rows("/tmp/a.csv")).y |> println
{"a": 2, "b": """}

julia> first(CSV.Rows("/tmp/a.csv", stringtype=String)).y |> println
{"a": 2, "b": ""}

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