serde-smile 0.3.1

A Smile implementation for Serde
Documentation
1
2
3
4
5
6
7
8
9
#!/usr/bin/env python3
import json

def test(n):
    with open(f"{n}.json", "w") as file:
        json.dump({"value": n}, file)

test(True)
test(False)