Skip to content

Set quoted string delimiter and use " as by default? #1

@elliottinvent

Description

@elliottinvent

Quoted strings automatically use backticks for generated CompactData:

{
  "x": "1"
}

->

x=`01`

It would be more typical to output it with" like this:

x="01"

And have a way to use backtick, e.g. by passing options:

CompactData.generate({x:01},{quote:"backtick"})

Or possibly a different method:

CompactData.generate_for_dns({x:01})

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