559Re: JSON, schemas & RELAX NG
- Oct 31, 2006
> I am interested in defining the expected structureEarly on I designed a schema notation for JSON in JSON. But on
> of JSON objects in a way that can be programmatically
> introspected. Such definitions could be used for
> validation and for other purposes.
reflection, it didn't appear to do anything that an application
shouldn't already be doing in the process of checking its inputs. So,
it having little apparent value, I didn't implement it.
I think other people have had similar experiences.
If you think there is value in schemas in JSON, go ahead and implement
it. I don't think anyone is opposed to the idea. I just don't see a
lot of value in it, except perhaps for helping people who have been
indoctrinated in XML to take their first steps toward JSON. Maybe
there is value in that.
- << Previous post in topic Next post in topic >>