On Fri, Feb 21, 2014 at 5:55 PM, Ben Langmuir <[email protected]> wrote:
> At this point, the solution I hate the least is to use a regular field, and 
> cheat the JSON spec by requiring it to come first.  If no one hates that, 
> I’ll go with it.

I don't think there is a need to require 'version' to be the first
field.  As long as we are not going to crash while parsing a
future-version file, version can be anywhere, we can just check it
when we see it, and ensure that it is present at all.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to