[Mapbender-dev] JSON

Melchior Moos melchior.moos at ccgis.de
Mon Nov 20 03:40:39 EST 2006


Hi,
I didn't know JSON but when I look at the example at Wikipedia it looks 
as if the library on which I based the new treefolder module uses this 
format for the difinition of the tree.
The Definition of a node looks like this:

[
  String: node id,
  [
    String: title,
    String: href,
    String: target,
    String: image,
    String: tooltip,
    Folder definition: node context menu,
    String: controls
  ],
  Folder definition: sub folder
]

and there are the function getDefinition() and setDefinition() which gets or sets the whole tree.

Melchior




Christoph Baudson schrieb:
> Hi there,
>
> have you heard about JSON?
>
> http://de.wikipedia.org/wiki/JSON
>
> I think it might me interesting, for example to store digitized 
> geometries so they are not lost on a reload.
>
> Christoph
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe at mapbender.osgeo.org
> For additional commands, e-mail: dev-help at mapbender.osgeo.org
>





More information about the Mapbender_dev mailing list