Class: VeryDSON::DSON
- Inherits:
-
Object
- Object
- VeryDSON::DSON
- Defined in:
- lib/very_dson/dson.rb
Defined Under Namespace
Classes: EscapedString
Constant Summary collapse
- ARRAY_DELIMITERS =
["and", "also"]
- OBJECT_PAIR_DELIMITERS =
[",", ".", "!", "?"]
- ESCAPED_CHARS =
{ "\u2028" => '\u2028', "\u2029" => '\u2029', '>' => '\u003e', '<' => '\u003c', '&' => '\u0026', }
- ESCAPE_REGEX_WITH_HTML_ENTITIES =
/[\u2028\u2029><&]/u
Class Method Summary collapse
Class Method Details
.stringify(value) ⇒ Object
7 8 9 |
# File 'lib/very_dson/dson.rb', line 7 def stringify(value) _stringify(simplify(value)) end |