Front page | perl.inline |
Postings from April 2012
Re: JSON Inline::C
Thread Previous
From:
David Mertens
Date:
April 17, 2012 08:11
Subject:
Re: JSON Inline::C
Message ID:
CA+4ieYWqXcHYvRTkq_=wjQinSMfUgQ6JF4piAddfyhLduyss7Q@mail.gmail.com
On Sun, Apr 15, 2012 at 7:54 PM, stephen munyiri <stevenmyri@gmail.com>wrote:
> Hi,
>
> Can I call a C function that takes in JSON from perl and have it return
> data in JSON format. The C function should be able to handle JSON.
>
What exactly are you asking? Does the C function take a JSON string or a
JSON Perl object as input? Which Perl JSON library do you intend to
interface to your C library? Should the output be a JSON string? Is the
statement "The C function should be able to handle JSON" a requirement of a
C function yet to be written, or a reassurance of a C function you intend
to wrap? Can you give some example code to demo what you want to have
happen?
David
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." -- Brian Kernighan
Thread Previous