-
This patch makes the following changes to ocaml-json's lexer source. Most changes are related to parsing bugs in the original implementation.
- empty arrays and objects no longer rejected
- unnecessary trailing commas no longer required
- ability to scan escaped quote and backslash characters in strings
- proper escaping of quote characters in output strings
- more robust...
2006-11-28 19:43:16 UTC by ramenboy
-
seems that functionality of this library already exists in Rails 1.1, so removing it fixed the problem.
2006-11-19 16:49:30 UTC by antonmos
-
When this library is included, it causes erroneous escaping of \n characters in javascript that is returned by RJS.
Example:
RJS file:
page.replace_html 'target', :partial => 'target'
RHTML partial:
some text
more text
RJS is returned as :
Element.update('target', 'some text \\n more text')
Should be:
Element.update('target', 'some text \n more text')
So the end result is...
2006-11-16 16:40:47 UTC by antonmos
-
tmyrtle committed patchset 26 of module ruby-json to the JavaScript Object Notation CVS repository, changing 1 files.
2006-02-09 20:09:00 UTC by tmyrtle
-
tmyrtle committed patchset 25 of module ruby-json to the JavaScript Object Notation CVS repository, changing 1 files.
2006-02-09 18:55:48 UTC by tmyrtle
-
tmyrtle committed patchset 24 of module ruby-json to the JavaScript Object Notation CVS repository, changing 3 files.
2006-02-09 18:14:18 UTC by tmyrtle
-
tmyrtle committed patchset 23 of module ruby-json to the JavaScript Object Notation CVS repository, changing 4 files.
2006-02-08 20:02:22 UTC by tmyrtle
-
didosevilla committed patchset 22 of module ruby-json to the JavaScript Object Notation CVS repository, changing 1 files.
2005-01-28 03:20:49 UTC by didosevilla
-
didosevilla committed patchset 21 of module ruby-json to the JavaScript Object Notation CVS repository, changing 1 files.
2005-01-28 03:03:51 UTC by didosevilla
-
didosevilla committed patchset 20 of module ruby-json to the JavaScript Object Notation CVS repository, changing 1 files.
2005-01-28 02:59:30 UTC by didosevilla