24 Dec 12:47
Re: Scala Object Notation ( SCON? )
Jon Pretty <jon.pretty <at> sygneca.com>
2007-12-24 11:47:02 GMT
2007-12-24 11:47:02 GMT
Hi John,
And how about this?
type Person = {
def name : String
def age : Int
}
val person = new {
def name = "Peter"
def age = 20
} // this is a Person
So many options, but none of them quite as concise as JSON...
Cheers,
Jon
--
--
Jon Pretty | Sygneca Ltd.
RSS Feed