python
import ujson
data = {"name": "John", "age": 30, "city": "New York"}
json_data = ujson.dumps(data)
print(json_data)
decoded_data = ujson.loads(json_data)
print(decoded_data)
# {"name":"John","age":30,"city":"New York"}
# {'name': 'John', 'age': 30, 'city': 'New York'}