File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -6,17 +6,28 @@ bindings for Fable based on Python
66
77## Installation
88
9- TBW
9+ TBD
1010
1111## Usage
1212
13- TBW
13+ ``` fs
14+ open Fable.Python.Json
15+
16+ let object = {| A=10; B=20 |}
17+ let result = json.dumps object
18+ ```
1419
1520## Auto-generation
1621
1722Parts of this library could benefit from code-generation based on the type
1823annotations in Python [ typeshed] ( https://github.com/python/typeshed ) similar to
19- ts2fable. Even so we should keep this library manually updated based on PRs to
20- ensure the quality of the code.
24+ [ ts2fable] ( https://github.com/fable-compiler/ts2fable ) . Even so we should keep
25+ this library manually updated based on PRs to ensure the quality of the code.
26+
27+ Current plan:
28+
29+ 1 . Add bindings for Python ` ast ` module (in progress)
30+ 2 . Use ` ast ` module to parse Python typeshed annotations
31+ 3 . Generate F# bindings
2132
2233
You can’t perform that action at this time.
0 commit comments