4 ms·
This synatx is called JsonML and I'm maintaining a stable and highly usable implementation: http://adriansieber.com/shaven http://adriansieber.com/shaven
by adius 9y ago
This synatx is called JsonML and I'm maintaining a stable and highly usable implementation: http://adriansieber.com/shaven http://adriansieber.com/shaven
- lukejacksonn 9y agoCool implementation. What is JSON about it though? What made you decide to pass children before props?
- lucideer 9y ago> What is JSON about it though? "JSON" originally stood for "JavaScript Object Notation" - the restrictions on double-quotes and unquoted keys are arbitrary extras on top of that concept, but otherwise JSONML is, technically, another JavaScript Object Notatation for Javascript that is also a Markup Language. Admittedly, the use of the term JSON these days implies that your syntax will be parsable by a JSON parser, which JSONML might not be.