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.4.2 (2013-07-15)
Fix console script entry point
0.4.1 (2013-07-15)
History update
0.4.0 (2013-07-15)
added type converter
0.3.0 (2013-07-15)
Accepts command-line argument
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.4.2.tar.gz
(2.4 kB
view details)
File details
Details for the file simplicity-0.4.2.tar.gz
.
File metadata
- Download URL: simplicity-0.4.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 722c6ce9972455bc5cfcfee6c3c07c6aac43e455fe7bd2e089f29bdb901a1048 |
|
MD5 | 18e53be06dc587db3d417e0e3189459e |
|
BLAKE2b-256 | 2bfe1fba7a87fe2ff8b0d2848e3ce40677471c9bb5239a872d0a7f2bbbce9fdb |