The u- prefix just means that you have a Unicode string. When you really use the string, it won’t appear in your data. Don’t be thrown by the printed output.
For example, try this:
print mail_accounts[0]["i"]
You won’t see a u.
More Related Contents:
- Check if a dictionary contain data true of false, then send a response back
- How to overcome “datetime.datetime not JSON serializable”?
- Loading and parsing a JSON file with multiple JSON objects
- Why am I seeing “TypeError: string indices must be integers”?
- Convert JSON string to dict using Python
- Is there a memory efficient and fast way to load big JSON files?
- Convert Pandas Dataframe to nested JSON
- TypeError: ObjectId(”) is not JSON serializable
- Pandas read nested json
- Python json parser allow duplicate keys
- How to extract a single value from JSON response?
- How can I access the nested data in this complex JSON, which includes another JSON document as one of the strings?
- Loading initial data with Django 1.7 and data migrations
- Accessing JSON elements
- Python load json file with UTF-8 BOM header
- Loading JSONL file as JSON objects
- What is the difference between json.load() and json.loads() functions
- TypeError: unhashable type: ‘dict’, when dict used as a key for another dict [duplicate]
- Why do I get an error “‘unicode’ object does not support item deletion” when trying to delete values from a JSON object?
- Convert a HTML Table to JSON
- python: read json and loop dictionary
- pandas.io.json.json_normalize with very nested json
- How to convert a list of numbers to jsonarray in Python
- Write two-dimensional list to JSON file
- How do I check if a string is valid JSON in Python?
- How to change json encoding behaviour for serializable python object?
- Python json.loads changes the order of the object
- Insert multiple documents in Elasticsearch – bulk doc formatter
- Convert JSON to SQLite in Python – How to map json keys to database columns properly?
- How to convert csv to json in python?