I have a string, which contains valid json. I'd like to add that json as a JField in a larger json4s AST I'm building, but it'd be nice to avoid having to parse the json into an AST first. I trust it.
// this would work, but I'd prefer to avoid parsing something I
// happen to already know contains valid json
val rawJsonStr = "..."
val spliced = JField("foo", parse(rawJsonStr))
Is there a way beyond building the AST, converting it to json, then doing text manipulation?