Converts ReStructuredText into JSON
Project description
Converts ReStructuredText into JSON.
Usage
Input
Python
------
:age: 22
:typing: dynamic, strong
Java
----
:age: 18
:typing: static, strong
Output
[
{"Python":
{"age": 22, "typing": "dynamic, strong"}
},
{"Java":
{"age": 18, "typing": "static, strong"}
},
]
Try it out!
$ git clone git@github.com:pydanny/simplicity.git
$ cd simplicity/
$ python simplicity.py sample.rst
<type 'str'>
[{"Python": {"age": "22", "typing": "dynamic, strong"}}, {"Java ": {"age": "18", "typing": "static, strong"}}, {"GitHub": {"url": "https://github.com", "description": "Build software better, together."}}]
0.2.0 (2013-07-15)
Working prototype
0.1.0 (2013-07-15)
Pain point
Inspiration
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simplicity-0.2.0.tar.gz
(2.1 kB
view details)
File details
Details for the file simplicity-0.2.0.tar.gz
.
File metadata
- Download URL: simplicity-0.2.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5fedac92a2966808c2c7d91249b8d9f656f8e5f36b141911744874a585d9234 |
|
MD5 | adf8ec9204f8277de0932d78858cf4e9 |
|
BLAKE2b-256 | 9dfc31b4f3622be2b131f2ea080ac8aaa0af8c4b603bff5a81bc0192e70f2124 |