Skip to content

Instantly share code, notes, and snippets.

@mtth
mtth / restli-encode.py
Last active September 26, 2022 07:01
Rest.li encode: a simpler way to encode Rest.Li query parameters.
#!/usr/bin/env python
# encoding: utf-8
"""Rest.li encode: a simpler way to encode Rest.Li query parameters.
Usage:
restli-encode.py [JSON]
Arguments:
JSON JSON string. Will read stdin if unspecified.