Skip to content

Support raw string interpolation in JSON #568

@kubukoz

Description

@kubukoz

For example, this:

val bucket: Output[String] = ???
json"""{
  "key": "$bucket/*"
}"""

Fails to compile:

Failed to parse JSON (default values inserted at compile time):
  Unexpected character '"' at input index 17 (line 2, position 16), expected '}':
      "key": """/*"
               ^

ccc @lbialy

Metadata

Metadata

Assignees

Labels

area/apiUser visible APIarea/coreThe SDK's core codeimpact/brokenSomething that is difficult or impossible for some people to use

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions