pyparsing is an incredibly (perhaps over in this case) powerful tool
for parsing stuff into what ever your heart desires.
On Fri, Nov 12, 2010 at 4:22 PM, Javier Guerra Giraldez
wrote:
> On Fri, Nov 12, 2010 at 3:40 AM, Pradnya wrote:
>> Please let me know if there is any other way to convert t
On Fri, Nov 12, 2010 at 3:40 AM, Pradnya wrote:
> Please let me know if there is any other way to convert the plane
> text / string into json
if you have data in a non-standard format, you'll have to whip up your
own parser
--
Javier
--
You received this message because you are subscribed to
Hello,
I have a string as
s = "{a : b, c : 2}"
I want to convert this string to json object. There are no quotes
inside the string that means it's not like "{'a' : 'b', 'c' : 2}", so
when I tried to convert this string to json using eval() it's throwing
exception.
Please let me know if there is
3 matches
Mail list logo