Rss Feed

Scorpio (ColdFusion) supportera Json

Ben Forta vient d’annoncer sur son Blog que Scorpio (nom de code de la nouvelle version ColdFusion) supportait le format d’échange Json.

La synthaxe de Json, voici un exemple :

{
"menu": "Fichier",
"commands": [
{
"title": "Nouveau",
"action":"NouveauDoc"
},
{
"title": "Ouvrir",
"action": "OuvrirDoc"
}
]
}

Equivalent XML :

<?xml version="1.0" ?>
<root>
<menu>Fichier</menu>
<commands>
<item>
<title>Nouveau</value>
<action>NouveauDoc</action>
</item>
<item>
<title>Ouvrir</value>
<action>OuvrirDoc</action>
</item>
</commands>
</root>

Plus d’informations sur Json

Le Blog de Ben Forta

Partager :
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Technorati
  • Twitter

Articles sur le même sujet :

  1. CFZIP nouveau tag dans coldfusion 8 (Scorpio)
  2. ColdFusion 8 livres
  3. Scorpio Prerelease

Laisser un commentaire

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word