classafJson::JsLiteral

sys::Obj
  afJson::JsLiteral

@Js
@Serializable { simple=true }

A value that is written out verbatim by JsonWriter.

Use JsLiterals to embed Javascript in your JSON objects. Note that the resultant string is no longer valid JSON.

fromStr

Source

new fromStr(Str val)

Creates a JsonLiteral.

val

Source

Str val

The literal value.