On Feb 3, 2012, at 10:18 AM, Vladimir Vuksan wrote:

> It may be simple to export a simple hash table however you have to worry 
> about encoding. For example we have had issues with XML export in gmond
> where if you sent metrics with e.g. < or > things would break since XML tags 
> would break. So I'm in favor of outsourcing the JSON export to a library.
> 
> Vladimir

+1

I've hunted numerous bugs in the past which turned out to be caused encoding 
code (for either JSON or XML) which was incomplete or overly simplistic. 
Character sets, properly escaping control characters, etc.  To do it well isn't 
as simple as it sounds.

alex
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to