Skip to content

Target values are always treated as Strings #2

@rtempleton

Description

@rtempleton

The output values are always wrapped in quotes including quoted Strings

testcase1.source.json
{"a":1,"d":2}

testcase1.dummy.json
{"c":"hello"}

testcase1.template.json
{
"b":"&$.a",
"c":"&$.c"
}

I would expect
{"b":1,c:"hello"}

but instead we get
{"b":"1",c:""hello""}

2.2 produces the following output - Is there a way to preserve the fact that "b" is a number so shouldn't be quoted?
{"b":"1",c:"hello"}

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