Hi Ed, your suggestion worked - thanks. I ended up using CFJSON which does preserve the case of the keys. http://www.epiphantastic.com/cfjson/
On May 31, 7:19 am, Edward Smith <[email protected]> wrote: > OpenBD's serializejson has the option to lowercase the property names: > > http://wiki.openbluedragon.org/wiki/index.php/SerializeJSON%28%29 > > serializeJSON(rc.myStruct,false,true); > > results in {"dotvalue":"this","keyvalue":"that"} > > Not sure what GoogleWave's expecting. > > If google expecting camel-case or other mixed case, then you might > have to use a different JSON converter - there are a couple for CF > that may work: > > http://www.epiphantastic.com/cfjson/http://svn.riaforge.org/coldfire/branches/1.3/tests/json/json.cfc > > And set your struct keys like: > > myStruct['keyName'] = "value" > > instead of > > myStruct.keyName = "value" > > In AdobeCF at least, this seems to preserve key case better. > > On May 30, 1:16 pm, Johno Scott <[email protected]> wrote: > > > > > Hi Blue Dragoners, I had a go at building a wave robot in CFML with > > OpenBD on Google App Engine and was wondering if this might make an > > interesting contribution to the OpenBD wiki ? > > > Check it out here : > > >http://blog.johnoscott.com/2010/05/building-wave-robots-in-coldfusion... > > > Johno Scott -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
