Open
Description
This is pretty vital and is a result of numerous issues:
- All objects are compiled to JSON before being sent to JavaScript and JSON does not support
symbols
. - Even if symbols were supported in JSON, the rendering of Objects doesn't support it. I.E. we might have to create our own HTML elements necessary for rendering Ruby objects.
Ultimately, on the onset we would either have to:
- Use something other than JSON (maybe XML?)
- Convert all symbols to symbol objects embedded in JSON e.g.
{"__type__":"Symbol", "__name__":"SomeSymbol"}
- We make "Ruby Hash Notation" which supports symbols directly:
{"something"=>"something",:something=>"something else"}
. And even then we'd need some way of integrating object properties.
Then when this is done, we would need to create some rendering system for the RHN
objects.