define: DUK_USE_NONSTD_JSON_ESC_U2028_U2029 feature_enables: DUK_OPT_NONSTD_JSON_ESC_U2028_U2029 introduced: 1.1.0 default: true tags: - ecmascript - compliance description: > When enabled, Duktape JSON.stringify() will escape U+2028 and U+2029 which is non-compliant behavior. This is recommended to make JSON.stringify() output valid when embedded in a web page or parsed with eval(). When disabled, Duktape provides the compliant behavior, i.e. no escaping for U+2028 and U+2029.