From a6dee1690419dbaa0895350a7715ac2cd0aaa19b Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Thu, 29 Mar 2012 21:48:24 -0700 Subject: [PATCH] bump version to 1.1.2 --- README.markdown | 12 ++---------- src/jsx.app.src | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/README.markdown b/README.markdown index 24281eb..17b81ef 100644 --- a/README.markdown +++ b/README.markdown @@ -127,17 +127,9 @@ javascript interpreters treat the codepoints `u+2028` and `u+2029` as significan json has no official comments but some parsers allow c style comments. this flag allows comments (both `// ...` and `/* ... */` style) anywhere whitespace is allowed -#### `dirty_strings` #### +#### `json_escape` #### -json escaping is lossy, it mutates the json string and repeated application can result in unwanted behaviour. if your strings are already escaped (or you'd like to force invalid strings into "json") use this flag to bypass escaping - -#### `ignore_bad_escapes` #### - -during decoding, ignore unrecognized escape sequences and leave them as is in the stream - -#### `relax` #### - -relax is a synonym for `[loose_unicode, single_quotes, comments, ignore_bad_escapes]` +by default, both the encoder and decoder return strings as utf8 binaries appropriate for use in erlang. escape sequences that were present in decoded terms are converted into the appropriate codepoint and encoded terms are unaltered. this flag escapes strings for output in json, removing control codes and replacing them with the appropriate escapes ### incomplete input ### diff --git a/src/jsx.app.src b/src/jsx.app.src index 846abd4..5875359 100644 --- a/src/jsx.app.src +++ b/src/jsx.app.src @@ -1,7 +1,7 @@ {application, jsx, [ {description, "a streaming, evented json parsing toolkit"}, - {vsn, "1.1.1"}, + {vsn, "1.1.2"}, {modules, [ jsx, jsx_encoder,