Comment 1 for bug 1637910

Revision history for this message
Stan Lagun (slagun) wrote :

yaql is an open framework which mean that any project hosting yaql (Mistral in your case) can extend it and register additional functions or even drop those bundled with yaql. Default yaql functions are just a standard library, they cannot cover all possible needs. Ability to parse JSON doesn't seem to fit in any of the existing standard library modules. If we implement parseJson, then we will also need to implement dumpJson, which does the opposite. And now there are many libraries to do so, each with different options (formatting, encoding, serialization of non-standard types) etc. And then there be people, who want the same for YAML, XML etc. And then the question would be which library to use for each of them, which version etc. I'd like to keep the list of requirements small. The more dependencies the library has the higher are chances for it to be incompatible with hosting application that wants to use other version of the same library etc.
So let's keep this in Mistral