I apologize beforehand for posting this here, I was not sure where I
should post it, I just counted on the fact that maybe one of you guys
uses simplejson.

I have tried loading a json object from a js file, simplejson
complains about not being able to decode, I made a test of just
simplifying the JSON object and putting it in my controller for
loading, but that did not work either

#code

inline = """
site = {
    "domain-name" : "www.test.com",
    "language"    : "English",
    "test"      : ["one", "two", "three"]
}
"""
simplejson.loads(inline)

# end code


Is my JSON formatting off? It is pretty simple,  Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to