Re: [Gegl-developer] New serialization format
- From: Michael Muré <batolettre gmail com>
- To: Daniel Rogers <daniel phasevelocity org>
- Cc: gegl-developer-list gnome org
- Subject: Re: [Gegl-developer] New serialization format
- Date: Mon, 23 Jul 2012 22:57:56 +0900
Let's roll the ball a bit further.
Here is another try, with XML this time. In the process, I corrected some flaws that was present in the YAML and JSON test:
* the output node is mentioned explicitly. It was implicit before, the output node being the root of the tree.
* parameters and connection are separated by different tags, not just by name
* operation's ID and pad are separated when describing a connection, so no need to parse, and each can have ':' in their names
The different kind of parameters we can have:
- boolean
- int
- double
- string
- enumeration
- GeglColor (serialization defined in gegl-color.c)
- GeglCurve (no serialization format defined)
- GeglPath (serialization defined in gegl-path.c
Is this better ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]