Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database?

2010-07-06 Thread Fly Man
My 2 cents in this conversation: I think that XML at this moment is a better solution then JSON, provided that there's a good DTD to accompany it. JSON, in my opinion, makes it harder to do debugging on a deeper level Fly-man- ___ Opensim-dev mailing

Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database?

2010-07-06 Thread Diva Canto
My 2cents: The most important thing here is to make sure there is a mechanism in place for alternative formats. Personally, I have no preference for any format; the best format depends on the context of the application. Since we are doing a framework, we must assume that these applications

Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database?

2010-07-06 Thread Hurliman, John
...@lists.berlios.de [mailto:opensim-dev-boun...@lists.berlios.de] On Behalf Of Frisby, Adam Sent: Monday, July 05, 2010 5:14 PM To: opensim-dev@lists.berlios.de Subject: Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database? Having just worked on a JSON project myself internally - I personally

Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database?

2010-07-05 Thread Impalah Shenzhou
Hi: Correct me if I'm wrong but I think that JSON.NET most famous serializer/deserializer (http://json.codeplex.com/) works like standard .NET XML serializer... The advantage of using JSON is less storing space and some thing like direct connection with Javascript. If the first is not a problem

Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database?

2010-07-05 Thread BlueWall Slade
I use OSDMap / json exclusively in projects. Encoders and decoders for python and php work very well, and it is very easy to work with inside the region modules. Very clean and efficient, overall. Since we have OSDMap and friends to help on the OpenSim side, I think it would makes sense to

Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database?

2010-07-05 Thread BlueWall Slade
The libomv OSD classes handle it in OpenSim, which as far as I can tell is the generic name given to the libomv LLSD handler. BlueWall On Mon, Jul 5, 2010 at 5:01 AM, Impalah Shenzhou impa...@gmail.com wrote: Hi: Correct me if I'm wrong but I think that JSON.NET most famous

Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database?

2010-07-05 Thread Impalah Shenzhou
I'm not against JSON (I use it on web projects), but I don't know how much work will require to convert XML serializing code to JSON. If this were a vote, mine will be abstention. Greetings 2010/7/5, BlueWall Slade bluewall.sl...@gmail.com: The libomv OSD classes handle it in OpenSim, which

Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database?

2010-07-05 Thread Teravus Ovares
Not a whole lot of feedback here yet, maybe people are on a long weekend type camping vacation.. I'm partial to OSD/json, myself.I'd also like to, at some point, get a version number in there along with a definition of the format for people who want to write integration tools..however,

Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database?

2010-07-05 Thread Frisby, Adam
...@lists.berlios.de] On Behalf Of Teravus Ovares Sent: Monday, 5 July 2010 4:23 PM To: opensim-dev@lists.berlios.de Subject: Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database? Not a whole lot of feedback here yet, maybe people are on a long weekend type camping vacation.. I'm

Re: [Opensim-dev] JSON or XML for serialization in the OpenSim database?

2010-07-05 Thread Dahlia Trimble
If it's using the OSD serialization methods in libomv, then there are several serializations available, including XML, JSON, and a binary format. I've used all three in projects and I've found the XML to be the most robust and mature. Depending on the version of libomv included with OpenSimulator,

[Opensim-dev] JSON or XML for serialization in the OpenSim database?

2010-07-04 Thread Justin Clark-Casey
Hi folks, As part of the media-on-a-prim implementation, I'm serializing the parameters for a media texture to the database. This seems better than creating new database fields or even a whole new table for these parameters, both because there are lots of them (url, scaling, controls,