jsonapi icon indicating copy to clipboard operation
jsonapi copied to clipboard

New feature suggestion: fs.readYaml, fs.writeYaml

Open vfioox opened this issue 11 years ago • 0 comments

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.

vfioox avatar Nov 22 '13 18:11 vfioox