There is definitely going to be a standard json pod API for serializing to/from JSON. See the roadmap.
My current thinking is that default serialization models for both XML and JSON will work just like normal serialization using the @serializable and @simple tree model. Round trip serialization is a little tricky since we won't have types to map back to. So I would probably let you use optional type annotations or just map back to generic Obj:Obj maps.
In terms of priority, I would say the json API sits as follows:
mxp Fri 15 Aug 2008
Are you looking at implementing JSON into the code-base (I apologize if I have over looked it ) ?
Just for the sake of an hack example json generator in Fan (I had wanted to find some kind of example snippet like this in the forum..)
class JSON {
}
class jsontest: Test {
}
brian Fri 15 Aug 2008
There is definitely going to be a standard json pod API for serializing to/from JSON. See the roadmap.
My current thinking is that default serialization models for both XML and JSON will work just like normal serialization using the @serializable and @simple tree model. Round trip serialization is a little tricky since we won't have types to map back to. So I would probably let you use optional type annotations or just map back to generic
Obj:Obj
maps.In terms of priority, I would say the json API sits as follows:
Any remaining language features interspersed.