Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6197661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:51:39+00:00 2026-05-24T03:51:39+00:00

I try to use module json for this, but js script and firebug get

  • 0

I try to use module json for this, but js script and firebug get errors.
Example. I have this line:

{"fruit":{"apple":100}}

i try send it to js script called jquery.ocupload-1.1.2.js for build selectors.
And i get what all " become " and i have an error:

'Unexpected token &'

And then i try json.dumps its escapes all " like \" and script dont working with this structs.
How i can make “clean” json struct like {"fruit":{"apple":100}} without any escapes and extra characters?

Solved. I use Mako for templates. And need switch off filters in it like

${my_var | n}

http://www.makotemplates.org/docs/filtering.html

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T03:51:40+00:00Added an answer on May 24, 2026 at 3:51 am

    No, this is not true.

    >>> import json
    >>> json.dumps({"fruit":{"apple":100}})
    '{"fruit": {"apple": 100}}'
    

    So you are clearly doing something else, which you haven’t stated in your question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I try to use doctest from example from http://docs.python.org/library/doctest.html But when I run python
when I try to use a third part module in my perl script, I
I'm a beginner, and I try to use the Contact module, but it restricts
I get this error when I try to use one of the py2exe samples
If I try to use the shell I get this API conflict. /home/username/.python-eggs/MySQL_python-1.2.3c1-py2.6-linux-i686.egg-tmp/_mysql.so:6: RuntimeWarning:
I'm try to use drupal open id module. When i used to login using
I try to use this code for toggling text on the link: var showText=<span>Open</span>
I try to use the perl script to automate the interaction with a website.
I try to use Pool from the multiprocessing module to speed up reading in
Trying to use the Formo module with ORM and Kohana 3.1, but keep getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.