jsonapi
jsonapi copied to clipboard
New feature suggestion: fs.readYaml, fs.writeYaml
Hi,
I would like to suggest a feature to parse Yaml in the plugin not on the request end. The plugin would parse Yaml to Dictionary, or whatever else, and then parse it into a JSON object. There's a lot of support for Yaml in Java, so it would be great for less popular platforms to operate on it. I would see it like this:
fs.getYaml(file dir relative to /plugins>, [eventual typeof?]), and the opposite -
fs.writeYaml(JSONOBJ), which would get the jsonobject and parse it into Yaml right on the server.
Hope it is both possible and worth implementing.