Generate contracts with define-jsexpr-mapping
#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the
define-jsexpr-mapping
macro produces only getters for a JSON object. It would be an improvement to make it generate contracts as well.any/c
by default?)Contracts on the JSON objects can be quite complicated, because certain fields could be omitted.
For example,
in_reply_to
field in theStatus
object.Note to self: there is some hacking in the
contracts
branch.