[Haskell-cafe] Haskell, successing crossplatform API standart

John Van Enk vanenkj at gmail.com
Thu Dec 18 11:53:39 EST 2008


> Oh, but JSON doesn't seem to support tree-structured data...

{
  "value" : 5,
  "left" : {
    "value" : 3,
    "left" : null,
    "right" : null
  },
  "right" : {
    "value" : 8,
    "left" : null,
    "right" : null
  }
}

JSON *is* tree structured data.

/jve


On Thu, Dec 18, 2008 at 1:41 AM, Belka <lambda-belka at yandex.ru> wrote:

>
> Thanks for the info!
>
> > These days, however, web services seem to be moving towards a RESTful
> model with a JSON layer and there are plenty of JSON libraries on
> hackage, which you could just throw over the fastCGI bindings.
>
> Oh, but JSON doesn't seem to support tree-structured data... This might
> turn
> into hell, when highly demanded in big infrastructures with complex
> communications. That's why I guess my choise will be XML. Don't know any
> good alternative with total support on every platform.
> --
> View this message in context:
> http://www.nabble.com/Haskell%2C-successing-crossplatform-API-standart-tp20742743p21067779.html
> Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081218/7ac43114/attachment.htm


More information about the Haskell-Cafe mailing list