Question: Having inserted a MySQL table values to a `JTable` and previewing this `JTable`, I noticed that the "BIT" column is returning a "1" as a strange box which I am unable to paste into here, and it returns 0's as blanks. I'll leave a screenshot
of the bit error display:

[![enter image description here](https://i.stack.imgur.com/9hJKE.png)](https://i.stack.imgur.com/9hJKE.png)

Answer: 
Here's one of the zillion possible ways to code your problem:

```
import json
import random
import names

random.seed(1)

data = [
    {
        "name": "Tamara",
        "results": "434.545.234.664"
    },
    {
        "name": "Ted",
        "results": "434.545.234.664"
    }
]

def foo(lst, name):
    some_number = random.randint(0, 4343)
    values = filter(lambda d: d["name"] == name, lst)

    if values:
        for v in values:
            v["results"] += "+{0}".format(some_number)
    else:
        lst.append({
            "name": name,
            "results": some_number
        })

for name in ["Tamara", "Ted"] + [names.get_first_name() for i in range(8)]:
    foo(data, name)

print(data)

```

This one will use [names](https://pypi.python.org/pypi/names/) module to generate random test names.

One advice though, take some time to read the help page, especially the sections named ["What topics can I ask about here?"](https://stackoverflow.com/help/on-topic) and ["What types of questions should I avoid asking?"](https://stackoverflow.com/help/dont-ask). And more importantly, please read [the Stack Overflow question checklist](https://meta.stackexchange.com/q/156810/204922). You might also want to learn about [Minimal, Complete, and Verifiable Examples](https://stackoverflow.com/help/mcve)
You can [parse your json](https://docs.python.org/3.5/library/json.html) like this

```
import json

with open('yourJsonFile.json') as example_data:
    data = json.load(example_data)

```

And now it's a matter of working with `data` to find whatever you need. For example, to access the first name you could do

```
data[0]['name']

```

The rest depends on where/how you store the names and check if they already exist.

Finally, to add a new value you can use `append`