atom-json-editor icon indicating copy to clipboard operation
atom-json-editor copied to clipboard

editor eliminates zeroes

Open sjdv1982 opened this issue 8 years ago • 5 comments

Great tool! But the following isn't quite working right...

Schema: { "$schema": "http://json-schema.org/schema#", "type": "object", "properties": { "x": {"type":"number"}, "y": {"type":"number"}, "z": {"type":"number"} }, "required": ["x", "y", "z"] }

JSON data:

{ "x": 1, "y": 0, "z": 0 }

...and then it complains that x and y are missing. Maybe better to have an explicit "undefine" button next to the property?

cheers

Sjoerd

sjdv1982 avatar Jun 04 '16 15:06 sjdv1982

"...and then it complains that x and y are missing." I mean of course y and z

sjdv1982 avatar Jun 04 '16 15:06 sjdv1982

This seems to be an issue in json-editor. I'm currently working on a replacement for it.

LukasHechenberger avatar Jun 04 '16 15:06 LukasHechenberger

Any updates? Just discovered this for an upcoming project, and wondering if it's still alive and well or there's something newer for a JSON GUI editor.

booc0mtaco avatar Sep 09 '16 17:09 booc0mtaco

I'm still working on the json-editor replacement in my spare time, but it may take a while until it's finished. Maybe you create an issue on json-editor itself to speed up fixing this issue. I'd also appreciate contributions.

LukasHechenberger avatar Sep 13 '16 06:09 LukasHechenberger

OK, sure. Wanted to check first before forking, etc. :) I'll come up with some stuff and open issue and/or make a PR with appropriate changes in the next few days.

booc0mtaco avatar Sep 13 '16 17:09 booc0mtaco