Re: JSON generation in C/C++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 1 Aug 2011, Tommi Virtanen wrote:
> On Mon, Aug 1, 2011 at 09:24, Tommi Virtanen
> <tommi.virtanen@xxxxxxxxxxxxx> wrote:
> > We've talked about generating/parsing JSON a few times, and how we've
> > run into edge cases whenever we've rolled our own functions for that.
> > I've mentioned this C library a few times, but I'm not sure if I've
> > actually sent the link to anyone.. Here's a C library for
> > generating/parsing JSON, written by an ex-cow-orker of mine.
> 
> D'oh!
> 
> https://github.com/akheron/jansson

Ah, yeah.  The problem with the current code is it's assuming the 
string to dump is ASCII.  We need to do this:

https://github.com/akheron/jansson/blob/master/src/dump.c#L67

Thanks!
sage

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux