Re: Euphoria MVC updates
- Posted by ghaberek (admin) Jul 06, 2020
- 7833 views
I added a JSON parser today! (Well, I actually wrote it a month ago.)
Source: https://github.com/OpenEuphoria/euphoria-mvc/blob/v1.8.0/include/mvc/json.e
Docs: https://github.com/OpenEuphoria/euphoria-mvc/blob/v1.8.0/docs/JSON.md
Edit: the docs reference Euphoria maps but I stripped all of that out to simplify the parser. Objects are just sequences of {key,{type,value}} items now. That's why I added json_fetch to look up values from keys. I'll update the documentation to remove references to maps soon.
-Greg