Open slopjong opened 10 years ago
I don't know Avro. The last release includes a somewhat dirty implemented nosync feature which I needed for @spaceapi. I decided to push that hack to the master branch to allow a quick deployment of a sub-project there. Though things have become too complicated in the json editor because of the cyclic synchronization of the json string, the object representation and the abstract syntax tree. I will break up the cycle and only do the json > object > ast
sync in the future. That improves the readability a lot and reduces the code size at the same time.
Let me know what schema implementation you chose and what version you're using. I'm using json-schema.org draft-03 but without support of references as of now.
Avro has it's own schema definition / spec -- don't know if it is compatible with json-schema.org or not.
They're incompatible but Avro provides a mapping so that it should be possible to parse Avro schemas.
If you're writing a mapper i'd add a new option schema-type
so one can specify what schema implementation is actually used. However, Avro is relying on references which are currently not supported yet.
Can we have a chat some day to discuss your exact use case with avro?
@davisford is interested in the json editor, see angular-ui/ui-ace/issues/37
Slopjong says
Davis says