[uf-discuss] jCard draft

Thom Shannon thom at ts0.com
Fri Apr 4 01:37:36 PST 2008


> I have added a preliminary draft for a possible jCard specification to 
> the wiki at http://microformats.org/wiki/jcard.
> The content is based on what I read from the discussion list so far. 
> The intention was to have a reference for further discussion and for 
> solidifying a candidate for a jCard standard.
All the examples except the very first one are invalid JSON.

Object keys MUST be surrounded with double quotes.

Wrong
email = [
   {type: ['pref'], value: 'foo at example.com'},
   {value: 'bar at example.com'}
 ]

Correct
email = [
   {"type": ["pref"], "value": "foo at example.com"},
   {"value": "bar at example.com"}
 ]




More information about the microformats-discuss mailing list