| Class | Symbol |
| In: |
lib/json_extend.rb
|
| Parent: | Object |
The following just coverts Symbols into strings without the ’:’ This allows Javascript code to access symbol values as strings for example the column type => :string can now be accessed easily The bi-directional approach above could be used but code recognizing the json_class: Symbol would need to extract the symbol’s name in the Javascript JSON library