Howto:Serializing Nasal data structures: Difference between revisions

Jump to navigation Jump to search
Line 13: Line 13:
== Background ==
== Background ==


Nasal's hash syntax is already close enough to JSON that Nasal could even serialie a property tree without requiring much work, analogous to props.getValues() which is already traversing a property tree node and which turns it into a Nasal data structure (hash).
Nasal's hash syntax is already close enough to JSON that Nasal could even serialize a property tree without requiring much work, analogous to props.getValues() which is already traversing a property tree node and which turns it into a Nasal data structure (hash).


<ref>{{cite web
<ref>{{cite web

Navigation menu